rucio-clients 37.2.0__py3-none-any.whl → 37.4.0__py3-none-any.whl

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.

Files changed (39) hide show
  1. rucio/cli/rule.py +1 -1
  2. rucio/client/accountclient.py +205 -60
  3. rucio/client/accountlimitclient.py +84 -25
  4. rucio/client/baseclient.py +85 -48
  5. rucio/client/client.py +49 -41
  6. rucio/client/configclient.py +36 -13
  7. rucio/client/credentialclient.py +16 -6
  8. rucio/client/didclient.py +321 -133
  9. rucio/client/diracclient.py +13 -6
  10. rucio/client/downloadclient.py +435 -165
  11. rucio/client/exportclient.py +8 -2
  12. rucio/client/fileclient.py +10 -3
  13. rucio/client/importclient.py +4 -1
  14. rucio/client/lifetimeclient.py +48 -31
  15. rucio/client/lockclient.py +22 -7
  16. rucio/client/metaconventionsclient.py +59 -21
  17. rucio/client/pingclient.py +3 -1
  18. rucio/client/replicaclient.py +213 -96
  19. rucio/client/requestclient.py +123 -16
  20. rucio/client/rseclient.py +385 -160
  21. rucio/client/ruleclient.py +147 -51
  22. rucio/client/scopeclient.py +35 -10
  23. rucio/client/subscriptionclient.py +60 -27
  24. rucio/client/touchclient.py +16 -7
  25. rucio/common/plugins.py +1 -1
  26. rucio/vcsversion.py +3 -3
  27. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/data/etc/rucio.cfg.template +0 -1
  28. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/METADATA +1 -1
  29. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/RECORD +39 -39
  30. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/WHEEL +1 -1
  31. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/data/etc/rse-accounts.cfg.template +0 -0
  32. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/data/etc/rucio.cfg.atlas.client.template +0 -0
  33. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/data/requirements.client.txt +0 -0
  34. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/data/rucio_client/merge_rucio_configs.py +0 -0
  35. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/scripts/rucio +0 -0
  36. {rucio_clients-37.2.0.data → rucio_clients-37.4.0.data}/scripts/rucio-admin +0 -0
  37. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/licenses/AUTHORS.rst +0 -0
  38. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/licenses/LICENSE +0 -0
  39. {rucio_clients-37.2.0.dist-info → rucio_clients-37.4.0.dist-info}/top_level.txt +0 -0
@@ -38,13 +38,20 @@ class DiracClient(BaseClient):
38
38
  ) -> Literal[True]:
39
39
  """
40
40
  Bulk add files :
41
- - Create the file and replica.
42
- - If doesn't exist create the dataset containing the file as well as a rule on the dataset on ANY sites.
43
- - Create all the ascendants of the dataset if they do not exist
41
+ * Create the file and replica.
44
42
 
45
- :param lfns: List of lfn (dictionary {'lfn': <lfn>, 'rse': <rse>, 'bytes': <bytes>, 'adler32': <adler32>, 'guid': <guid>, 'pfn': <pfn>}
46
- :param ignore_availability: A boolean to ignore blocked sites.
47
- :param parents_metadata: Metadata for selected hierarchy DIDs. (dictionary {'lpn': {key : value}}). Default=None
43
+ * If doesn't exist create the dataset containing the file as well as a rule on the dataset on ANY sites.
44
+
45
+ * Create all the ascendants of the dataset if they do not exist
46
+
47
+ Parameters
48
+ ----------
49
+ lfns :
50
+ List of lfn (dictionary {'lfn': <lfn>, 'rse': <rse>, 'bytes': <bytes>, 'adler32': <adler32>, 'guid': <guid>, 'pfn': <pfn>}
51
+ ignore_availability :
52
+ A boolean to ignore blocked sites.
53
+ parents_metadata :
54
+ Metadata for selected hierarchy DIDs. (dictionary {'lpn': {key : value}}). Default=None
48
55
  """
49
56
  path = '/'.join([self.DIRAC_BASEURL, 'addfiles'])
50
57
  url = build_url(choice(self.list_hosts), path=path)