rucio-clients 35.1.1__tar.gz → 35.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rucio-clients might be problematic. Click here for more details.
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/MANIFEST.in +1 -1
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/PKG-INFO +1 -1
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/baseclient.py +2 -3
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/types.py +55 -1
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/vcsversion.py +3 -3
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/setup.cfg +1 -1
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_dumper_consistency.py +7 -7
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_filter_engine.py +110 -103
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/AUTHORS.rst +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/ChangeLog +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/LICENSE +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/README.md +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/bin/rucio +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/bin/rucio-admin +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/etc/rse-accounts.cfg.template +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/etc/rucio.cfg.atlas.client.template +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/etc/rucio.cfg.template +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/alembicrevision.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/accountclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/accountlimitclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/client.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/configclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/credentialclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/didclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/diracclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/downloadclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/exportclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/fileclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/importclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/lifetimeclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/lockclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/metaconventionsclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/pingclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/replicaclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/requestclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/rseclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/ruleclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/scopeclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/subscriptionclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/touchclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/client/uploadclient.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/cache.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/config.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/constants.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/constraints.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/didtype.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/exception.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/extra.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/logging.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/pcache.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/plugins.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/policy.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/atlas.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/belleii.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/domatpc.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/escape.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/generic.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/generic_multi_vo.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/schema/icecube.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/stomp_utils.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/stopwatch.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/test_rucio_server.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/common/utils.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/__init__.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/bittorrent.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/cache.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/dummy.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/gfal.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/globus.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/gsiftp.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/http_cache.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/mock.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/ngarc.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/posix.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/protocol.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/rclone.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/rfio.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/srm.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/ssh.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/storm.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/webdav.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/xrootd.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/rse/rsemanager.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio/version.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/lib/rucio_clients.egg-info/SOURCES.txt +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/pylintrc +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/pyproject.toml +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/requirements/requirements.client.txt +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/setup.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/setuputil.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_abacus_account.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_abacus_collection_replica.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_abacus_rse.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_account.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_account_limits.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_archive.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_auditor.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_auditor_hdfs.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_auditor_srmdumps.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_authentication.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_automatix.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_bad_replica.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_bb8.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_belleii.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_bin_rucio.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_boolean.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_clients.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_common_types.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_config.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_conveyor.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_conveyor_submitter.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_counter.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_credential.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_curl.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_daemons.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_dataset_replicas.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_db.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_did.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_did_meta_plugins.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_didtype.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_download.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_dumper.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_dumper_data_model.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_dumper_path_parsing.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_gateway_external_representation.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_heartbeat.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_hermes.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_identity.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_impl_upload_download.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_import_export.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_judge_cleaner.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_judge_evaluator.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_judge_injector.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_judge_repairer.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_lifetime.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_message.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_meta_conventions.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_meta_did.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_module_import.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_monitor.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_multi_vo.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_naming_convention.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_oauthmanager.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_oidc.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_permission.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_pfns.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_ping.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_preparer.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_qos.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_quarantined_replica.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_reaper.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_redirect.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_replica.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_replica_recoverer.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_replica_sorting.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_request.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_root_proxy.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_expression_parser.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_lfn2path.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_gfal2.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_gfal2_impl.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_posix.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_rclone.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_rsync.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_srm.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_ssh.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_webdav.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_protocol_xrootd.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rse_selector.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rucio_server.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_rule.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_scope.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_subscription.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_throttler.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_tpc.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_trace.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_transfer.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_transfer_plugins.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_undertaker.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_upload.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tests/test_utils.py +0 -0
- {rucio_clients-35.1.1 → rucio_clients-35.2.1}/tools/merge_rucio_configs.py +0 -0
|
@@ -137,6 +137,7 @@ class BaseClient:
|
|
|
137
137
|
self.logger.debug('No trace_host passed. Using rucio_host instead')
|
|
138
138
|
|
|
139
139
|
self.list_hosts = [self.host]
|
|
140
|
+
self.account = account
|
|
140
141
|
self.ca_cert = ca_cert
|
|
141
142
|
self.auth_token = ""
|
|
142
143
|
self.headers = {}
|
|
@@ -171,9 +172,7 @@ class BaseClient:
|
|
|
171
172
|
self.logger.debug('No ca_cert found in configuration. Falling back to Mozilla default CA bundle (certifi).')
|
|
172
173
|
self.ca_cert = True
|
|
173
174
|
|
|
174
|
-
if account is
|
|
175
|
-
self.account = account
|
|
176
|
-
else:
|
|
175
|
+
if account is None:
|
|
177
176
|
self.logger.debug('No account passed. Trying to get it from the RUCIO_ACCOUNT environment variable or the config file.')
|
|
178
177
|
try:
|
|
179
178
|
self.account = environ['RUCIO_ACCOUNT']
|
|
@@ -27,7 +27,7 @@ else:
|
|
|
27
27
|
|
|
28
28
|
if TYPE_CHECKING:
|
|
29
29
|
from rucio.common.constants import SUPPORTED_PROTOCOLS_LITERAL
|
|
30
|
-
from rucio.db.sqla.constants import AccountType, IdentityType
|
|
30
|
+
from rucio.db.sqla.constants import AccountType, IdentityType, RequestState, RequestType
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
class InternalType:
|
|
@@ -343,3 +343,57 @@ class FileToUploadWithCollectedInfoDict(FileToUploadDict):
|
|
|
343
343
|
class FileToUploadWithCollectedAndDatasetInfoDict(FileToUploadWithCollectedInfoDict):
|
|
344
344
|
dataset_scope: str
|
|
345
345
|
dataset_name: str
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
class RequestGatewayDict(TypedDict):
|
|
349
|
+
"""
|
|
350
|
+
Request dict expected as input to gateway
|
|
351
|
+
"""
|
|
352
|
+
scope: str
|
|
353
|
+
name: str
|
|
354
|
+
account: Optional[str]
|
|
355
|
+
dest_rse_id: str
|
|
356
|
+
request_type: "RequestType"
|
|
357
|
+
attributes: "RequestAttributesDict"
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class RequestDict(TypedDict):
|
|
361
|
+
"""
|
|
362
|
+
Requested dict used in core
|
|
363
|
+
"""
|
|
364
|
+
id: str
|
|
365
|
+
request_id: str
|
|
366
|
+
scope: InternalScope
|
|
367
|
+
name: str
|
|
368
|
+
source_rse_id: str
|
|
369
|
+
dest_rse_id: str
|
|
370
|
+
dest_url: str
|
|
371
|
+
state: "RequestState"
|
|
372
|
+
account: NotRequired[InternalAccount]
|
|
373
|
+
rule_id: str
|
|
374
|
+
adler32: str
|
|
375
|
+
bytes: int
|
|
376
|
+
err_msg: str
|
|
377
|
+
sources: list[dict[str, Any]]
|
|
378
|
+
request_type: "RequestType"
|
|
379
|
+
retry_count: Optional[int]
|
|
380
|
+
previous_attempt_id: str
|
|
381
|
+
external_host: str
|
|
382
|
+
external_id: str
|
|
383
|
+
transfertool: str
|
|
384
|
+
attributes: "RequestAttributesDict"
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
class RequestAttributesDict(TypedDict):
|
|
388
|
+
activity: str
|
|
389
|
+
bytes: int
|
|
390
|
+
md5: str
|
|
391
|
+
adler32: str
|
|
392
|
+
is_intermediate_hop: bool
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
class FilterDict(TypedDict):
|
|
396
|
+
rule_id: str
|
|
397
|
+
request_id: str
|
|
398
|
+
older_than: datetime
|
|
399
|
+
activities: Union[list[str], str]
|
|
@@ -4,8 +4,8 @@ This file is automatically generated; Do not edit it. :)
|
|
|
4
4
|
'''
|
|
5
5
|
VERSION_INFO = {
|
|
6
6
|
'final': True,
|
|
7
|
-
'version': '35.
|
|
7
|
+
'version': '35.2.1',
|
|
8
8
|
'branch_nick': 'release-35-LTS',
|
|
9
|
-
'revision_id': '
|
|
10
|
-
'revno':
|
|
9
|
+
'revision_id': 'd16287dcea81790562e5c63066feb522bf57ab8d',
|
|
10
|
+
'revno': 13130
|
|
11
11
|
}
|
|
@@ -17,7 +17,7 @@ import os
|
|
|
17
17
|
from datetime import datetime
|
|
18
18
|
from unittest import mock
|
|
19
19
|
|
|
20
|
-
from rucio.common.dumper.consistency import Consistency, _try_to_advance, compare3, gnu_sort,
|
|
20
|
+
from rucio.common.dumper.consistency import Consistency, _try_to_advance, compare3, gnu_sort, min_value, parse_and_filter_file
|
|
21
21
|
from rucio.tests.common import make_temp_file
|
|
22
22
|
|
|
23
23
|
RSEPROTOCOL = {
|
|
@@ -282,17 +282,17 @@ class TestConsistency:
|
|
|
282
282
|
]
|
|
283
283
|
assert value == expected
|
|
284
284
|
|
|
285
|
-
def
|
|
285
|
+
def test_min_value_simple_strings(self, tmp_path):
|
|
286
286
|
''' DUMPER '''
|
|
287
|
-
assert
|
|
287
|
+
assert min_value('a', 'b', 'c') == 'a'
|
|
288
288
|
|
|
289
|
-
def
|
|
289
|
+
def test_min_value_repeated_strings(self, tmp_path):
|
|
290
290
|
''' DUMPER '''
|
|
291
|
-
assert
|
|
291
|
+
assert min_value('b', 'a', 'a') == 'a'
|
|
292
292
|
|
|
293
|
-
def
|
|
293
|
+
def test_min_value_parsing_the_strings_is_not_a_responsability_of_this_function(self, tmp_path):
|
|
294
294
|
''' DUMPER '''
|
|
295
|
-
assert
|
|
295
|
+
assert min_value('a,b', 'cab', 'b,a') == 'a,b'
|
|
296
296
|
|
|
297
297
|
def test_parse_and_filter_file_default_parameters(self, tmp_path):
|
|
298
298
|
''' DUMPER '''
|