Skip to content

Commit

Permalink
Testing: Add type annotations to api/importer; rucio#6588
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Apr 26, 2024
1 parent 2c389be commit 2c96230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rucio/gateway/importer.py
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Any

from rucio.common import exception
from rucio.common.schema import validate_schema
Expand All @@ -26,7 +26,7 @@


@transactional_session
def import_data(data, issuer, vo='def', *, session: "Session"):
def import_data(data: dict[str, Any], issuer: str, vo: str = 'def', *, session: "Session") -> None:
"""
Import data to add/update/delete records in Rucio.
Expand Down

0 comments on commit 2c96230

Please sign in to comment.