oscar-python 1.3.3b4__tar.gz → 1.3.4b1__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.
Files changed (38) hide show
  1. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/PKG-INFO +1 -1
  2. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/client.py +2 -0
  3. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python.egg-info/PKG-INFO +1 -1
  4. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/.github/workflows/release-build.yaml +0 -0
  5. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/.github/workflows/tests.yaml +0 -0
  6. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/.gitignore +0 -0
  7. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/LICENSE +0 -0
  8. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/README.md +0 -0
  9. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/jupyter_example/oscar_notebook.ipynb +0 -0
  10. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/jupyter_example/services/cowsay_example/cowsay.yaml +0 -0
  11. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/jupyter_example/services/cowsay_example/script.sh +0 -0
  12. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/__init__.py +0 -0
  13. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_oidc.py +0 -0
  14. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_providers/_minio.py +0 -0
  15. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_providers/_onedata.py +0 -0
  16. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_providers/_providers_base.py +0 -0
  17. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_providers/_s3.py +0 -0
  18. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_providers/_webdav.py +0 -0
  19. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/_utils.py +0 -0
  20. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/client_anon.py +0 -0
  21. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/default_client.py +0 -0
  22. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/local_test.py +0 -0
  23. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python/storage.py +0 -0
  24. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python.egg-info/SOURCES.txt +0 -0
  25. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python.egg-info/dependency_links.txt +0 -0
  26. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python.egg-info/requires.txt +0 -0
  27. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/oscar_python.egg-info/top_level.txt +0 -0
  28. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/pyproject.toml +0 -0
  29. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/setup.cfg +0 -0
  30. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/setup.py +0 -0
  31. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_client.py +0 -0
  32. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_default_client.py +0 -0
  33. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_oidc.py +0 -0
  34. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_onedata.py +0 -0
  35. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_s3.py +0 -0
  36. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_storage.py +0 -0
  37. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_utils.py +0 -0
  38. {oscar_python-1.3.3b4 → oscar_python-1.3.4b1}/tests/test_webdav.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oscar-python
3
- Version: 1.3.3b4
3
+ Version: 1.3.4b1
4
4
  Summary: Python client for OSCAR clusters
5
5
  Author: GRyCAP - I3M - UPV
6
6
  License: Apache-2.0
@@ -198,6 +198,8 @@ class Client(DefaultClient):
198
198
  return utils.make_request(self, _SVC_PATH+"/"+name, _DELETE)
199
199
 
200
200
  def _get_token(self, svc):
201
+ if self._AUTH_TYPE != 'basicauth':
202
+ return self.get_access_token()
201
203
  service = utils.make_request(self, _SVC_PATH+"/"+svc, _GET)
202
204
  service = json.loads(service.text)
203
205
  return service["token"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oscar-python
3
- Version: 1.3.3b4
3
+ Version: 1.3.4b1
4
4
  Summary: Python client for OSCAR clusters
5
5
  Author: GRyCAP - I3M - UPV
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes
File without changes