dcicutils 8.16.2.1b1__py3-none-any.whl → 8.16.2.1b2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
dcicutils/portal_utils.py CHANGED
@@ -220,14 +220,14 @@ class Portal:
220
220
  url += f"?limit={limit}"
221
221
  if isinstance(offset, int) and (offset >= 0):
222
222
  if "?" in url:
223
- url += "&from={offset}"
223
+ url += f"&from={offset}"
224
224
  else:
225
- url += "?from={offset}"
225
+ url += f"?from={offset}"
226
226
  if isinstance(field, str) and field:
227
227
  if "?" in url:
228
- url += "&field={field}"
228
+ url += f"&field={field}"
229
229
  else:
230
- url += "?field={field}"
230
+ url += f"?field={field}"
231
231
  if not self.vapp:
232
232
  response = requests.get(url, allow_redirects=follow, **self._kwargs(**kwargs))
233
233
  else:
@@ -285,14 +285,14 @@ class Portal:
285
285
  add_on += f"limit={limit}"
286
286
  if isinstance(offset, int) and (offset >= 0):
287
287
  if add_on:
288
- add_on += "&from={offset}"
288
+ add_on += f"&from={offset}"
289
289
  else:
290
- add_on += "from={offset}"
290
+ add_on += f"from={offset}"
291
291
  if isinstance(field, int) and field:
292
292
  if add_on:
293
- add_on += "&field={field}"
293
+ add_on += f"&field={field}"
294
294
  else:
295
- add_on += "field={field}"
295
+ add_on += f"field={field}"
296
296
  if raise_exception:
297
297
  return get_metadata(obj_id=object_id, vapp=self.vapp, key=self.key, add_on=add_on)
298
298
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.16.2.1b1
3
+ Version: 8.16.2.1b2
4
4
  Summary: Utility package for interacting with the 4DN Data Portal and other 4DN resources
5
5
  Home-page: https://github.com/4dn-dcic/utils
6
6
  License: MIT
@@ -49,7 +49,7 @@ dcicutils/misc_utils.py,sha256=xNQtavXS6vw_x9rQNhZEryo9b19oWYg-A8TzjhVDuxg,11594
49
49
  dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmjw,5963
50
50
  dcicutils/opensearch_utils.py,sha256=V2exmFYW8Xl2_pGFixF4I2Cc549Opwe4PhFi5twC0M8,1017
51
51
  dcicutils/portal_object_utils.py,sha256=Az3n1aL-PQkN5gOFE6ZqC2XkYsqiwKlq7-tZggs1QN4,11062
52
- dcicutils/portal_utils.py,sha256=FQyxqAsiN-Hd44fpWRrCp8i6HCTRkMqAq9vXM41Jf_s,46719
52
+ dcicutils/portal_utils.py,sha256=0bvqHNSXyS9ceTf9mAUKQnH9eX0yj8GIMy6RE3D-pzo,46727
53
53
  dcicutils/progress_bar.py,sha256=R3bWLMYM3Xq9PY7U0JadcFT1m7QmCbrbDp9qs9_Kf_c,19472
54
54
  dcicutils/project_utils.py,sha256=qPdCaFmWUVBJw4rw342iUytwdQC0P-XKpK4mhyIulMM,31250
55
55
  dcicutils/qa_checkers.py,sha256=j0kzo_T5VduKTxgsMTp7xjneyNokumZzI_iz55Y0Jjs,20505
@@ -75,8 +75,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
75
75
  dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
76
76
  dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
77
77
  dcicutils/zip_utils.py,sha256=_Y9EmL3D2dUZhxucxHvrtmmlbZmK4FpSsHEb7rGSJLU,3265
78
- dcicutils-8.16.2.1b1.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
79
- dcicutils-8.16.2.1b1.dist-info/METADATA,sha256=KItc8pDz1MPVwNMNTxczJKODYWdkNxk5tl8kpSW3H9w,3493
80
- dcicutils-8.16.2.1b1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
81
- dcicutils-8.16.2.1b1.dist-info/entry_points.txt,sha256=W6kEWdUJk9tQ4myAgpehPdebcwvCAZ7UgB-wyPgDUMg,335
82
- dcicutils-8.16.2.1b1.dist-info/RECORD,,
78
+ dcicutils-8.16.2.1b2.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
79
+ dcicutils-8.16.2.1b2.dist-info/METADATA,sha256=yn_rs-2NS5azpUggsK705tPBPbwVBodQFvvz4kOD_4o,3493
80
+ dcicutils-8.16.2.1b2.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
81
+ dcicutils-8.16.2.1b2.dist-info/entry_points.txt,sha256=W6kEWdUJk9tQ4myAgpehPdebcwvCAZ7UgB-wyPgDUMg,335
82
+ dcicutils-8.16.2.1b2.dist-info/RECORD,,