dnastack-client-library 3.1.124__py3-none-any.whl → 3.1.126__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.
@@ -74,6 +74,7 @@ def init_collections_commands(group: Group):
74
74
  arg_names=['--limit', '-l'],
75
75
  help='The maximum number of items to display',
76
76
  type=int,
77
+ default=50
77
78
  ),
78
79
  ArgumentSpec(
79
80
  name='no_auth',
@@ -271,6 +271,16 @@ class CollectionServiceClient(BaseServiceClient):
271
271
  params=params, trace_context=trace)
272
272
  return None
273
273
 
274
+ def delete_collection(self,
275
+ collection_id: str,
276
+ trace: Optional[Span] = None) -> None:
277
+ trace = trace or Span(origin=self)
278
+ local_logger = trace.create_span_logger(self._logger)
279
+ with self.create_http_session() as session:
280
+ delete_url = self._get_single_collection_url(collection_id)
281
+ session.delete(delete_url, trace_context=trace)
282
+ return None
283
+
274
284
  def data_connect_endpoint(self,
275
285
  collection: Union[str, Collection, None] = None,
276
286
  no_auth: bool = False) -> ServiceEndpoint:
dnastack/constants.py CHANGED
@@ -1,5 +1,5 @@
1
1
  import os
2
2
 
3
- __version__ = "v3.1.124"
3
+ __version__ = "v3.1.126"
4
4
 
5
5
  LOCAL_STORAGE_DIRECTORY = os.path.join(os.path.expanduser("~"), '.dnastack')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dnastack-client-library
3
- Version: 3.1.124
3
+ Version: 3.1.126
4
4
  Summary: "DNAstack's GA4GH library and CLI"
5
5
  Home-page: https://www.dnastack.com
6
6
  Author: DNAstack
@@ -1,6 +1,6 @@
1
1
  dnastack/__init__.py,sha256=Bpfm77MeoZNmZHSgDK9wlgVPkcdE73ur6_7Zihorb4o,263
2
2
  dnastack/__main__.py,sha256=3rydT8oj5G1IN0asiqv9oaQw2xmyIlVge8c8wUjo0HA,3532
3
- dnastack/constants.py,sha256=SeL_e6zU1ITEcTndBvJJpkTvNcFJHIUIENlLyva-uTc,114
3
+ dnastack/constants.py,sha256=EMAG-LYcda3J_kurhwr2yj3AjQ1kDAEMs8LeE7DJMCI,114
4
4
  dnastack/feature_flags.py,sha256=RK_V_Ovncoe6NeTheAA_frP-kYkZC1fDlTbbup2KYG4,1419
5
5
  dnastack/json_path.py,sha256=TyghhDf7nGQmnsUWBhenU_fKsE_Ez-HLVER6HgH5-hU,2700
6
6
  dnastack/omics_cli.py,sha256=ZppKZTHv_XjUUZyRIzSkx0Ug5ODAYrCOTsU0ezCOVrA,3694
@@ -34,7 +34,7 @@ dnastack/cli/commands/auth/__init__.py,sha256=SGnt7w8ccS1ED6EQzBq4PaH3kqoLuXC4wr
34
34
  dnastack/cli/commands/auth/commands.py,sha256=ds-Rj8KtmS567DbJLdZSXTiPbycc1rjzq6b8BT1-z8c,6469
35
35
  dnastack/cli/commands/auth/event_handlers.py,sha256=g6FPChlBZZr7M6hejGWT6Z3THNZr7AtbV0S5PJEtU_o,3627
36
36
  dnastack/cli/commands/collections/__init__.py,sha256=hrsjIkOvqOnYUN4xwoSB3iTCLrbX6qG-XeafVzoGleI,535
37
- dnastack/cli/commands/collections/commands.py,sha256=Z4MkoFpIrfN3hYkDPgBnSCVxBmGZt7aSq7faJX8fBkE,8951
37
+ dnastack/cli/commands/collections/commands.py,sha256=yawGsTZfgkTYvyCIyRaup9mEQOrr_nfE7Cj6lPcEaIk,8978
38
38
  dnastack/cli/commands/collections/tables.py,sha256=31D3QuI7VQp9V7M4EeoiTzwf3lg1dX95iLoZEzOh1IU,1984
39
39
  dnastack/cli/commands/collections/utils.py,sha256=o59nT42PACZiGo-dgo5Qjg8UDWgvcjmgb4fDGWpjm7w,6225
40
40
  dnastack/cli/commands/config/__init__.py,sha256=xBBLgV5tvRr45gWgZhGHLxB12fNMF8LDqeBvMXCt_sk,706
@@ -113,7 +113,7 @@ dnastack/client/factory.py,sha256=PQGYUGhKeqyJtEtc-bZM5OlEup9K7lB-qwmNiII_4HU,62
113
113
  dnastack/client/models.py,sha256=qkk06k12UZ-kG8x2fT198CX9TFJ8Svt3BjfzuTitqBA,2888
114
114
  dnastack/client/result_iterator.py,sha256=00zEs7YbPJyt8d-6j7eHnmSVurP8hIOarj4FwsiR7xc,1908
115
115
  dnastack/client/collections/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
- dnastack/client/collections/client.py,sha256=5lWBuvewe9FZ5-jLnzHINcnhfO9QFCdEGHclP4mcstk,15832
116
+ dnastack/client/collections/client.py,sha256=sBR0WDCgp4W257iAOFLTRGbOOh8oGUrkpoBlBWWd_FA,16289
117
117
  dnastack/client/collections/model.py,sha256=JO-eC_jc7hY9PBvST3x1vkmJE0LPDAbcUq5VBKcGyLM,3492
118
118
  dnastack/client/datasources/__init__.py,sha256=HxDIHuQX8KMWr3o70ucL3x79pXKaIHbBq7JqmyoRGxM,179
119
119
  dnastack/client/datasources/client.py,sha256=v-qilRqu0glEdzyHxm64Sw_1khHje499LtzxfrXRqas,4766
@@ -183,9 +183,9 @@ dnastack/http/authenticators/oauth2_adapter/client_credential.py,sha256=cCVZa4B1
183
183
  dnastack/http/authenticators/oauth2_adapter/device_code_flow.py,sha256=_OMHPf7qekPn_oSCBb41iYg9100sQMVzfJiKZHdh26w,6529
184
184
  dnastack/http/authenticators/oauth2_adapter/factory.py,sha256=r8K6swt5zhraP74KhTL2K4sQ71HWAMLM0oHg8qQT4BA,965
185
185
  dnastack/http/authenticators/oauth2_adapter/models.py,sha256=U11r8DZsWvjIRNCJE1mmQMuprZw3fpFwFBg7vmI5w48,660
186
- dnastack_client_library-3.1.124.dist-info/licenses/LICENSE,sha256=uwybO-wUbQhxkosgjhJlxmYATMy-AzoULFO9FUedE34,11580
187
- dnastack_client_library-3.1.124.dist-info/METADATA,sha256=a59tF6ZpgSCU5doxUe4keDNLvCfojlvECIFiYNDIw4o,988
188
- dnastack_client_library-3.1.124.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
189
- dnastack_client_library-3.1.124.dist-info/entry_points.txt,sha256=Y6OeicsiyGn3-8D-SiV4NiKlJgXfkSqK88kFBR6R1rY,89
190
- dnastack_client_library-3.1.124.dist-info/top_level.txt,sha256=P2RgRyqJ7hfNy1wLVRoVLJYEppUVkCX3syGK9zBqkt8,9
191
- dnastack_client_library-3.1.124.dist-info/RECORD,,
186
+ dnastack_client_library-3.1.126.dist-info/licenses/LICENSE,sha256=uwybO-wUbQhxkosgjhJlxmYATMy-AzoULFO9FUedE34,11580
187
+ dnastack_client_library-3.1.126.dist-info/METADATA,sha256=taQuSWY1_XmW7IaNk-ywWrt1IP2B8tnfAgo6qwiEbpE,988
188
+ dnastack_client_library-3.1.126.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
189
+ dnastack_client_library-3.1.126.dist-info/entry_points.txt,sha256=Y6OeicsiyGn3-8D-SiV4NiKlJgXfkSqK88kFBR6R1rY,89
190
+ dnastack_client_library-3.1.126.dist-info/top_level.txt,sha256=P2RgRyqJ7hfNy1wLVRoVLJYEppUVkCX3syGK9zBqkt8,9
191
+ dnastack_client_library-3.1.126.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5