Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow maggma to be used without Azure #837

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

jmmshn
Copy link
Contributor

@jmmshn jmmshn commented Aug 1, 2023

Currently, 0.52.0 raises an error

../../../local/Caskroom/miniconda/base/envs/mp/lib/python3.9/site-packages/maggma/stores/azure.py:368: in AzureBlobStore
    def _get_container(self) -> Optional[ContainerClient]:
E   NameError: name 'ContainerClient' is not defined

Currently, 0.52.0 raises an error

```
../../../local/Caskroom/miniconda/base/envs/mp/lib/python3.9/site-packages/maggma/stores/azure.py:368: in AzureBlobStore
    def _get_container(self) -> Optional[ContainerClient]:
E   NameError: name 'ContainerClient' is not defined
```
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03% ⚠️

Comparison is base (e354f4a) 88.15% compared to head (db34386) 88.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
- Coverage   88.15%   88.13%   -0.03%     
==========================================
  Files          44       44              
  Lines        3589     3590       +1     
==========================================
  Hits         3164     3164              
- Misses        425      426       +1     
Files Changed Coverage Δ
src/maggma/stores/azure.py 85.65% <0.00%> (-0.38%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@munrojm
Copy link
Member

munrojm commented Aug 1, 2023

Do you have a sense of why this didn't happen before? Is it from dep upgrades?

@jmmshn
Copy link
Contributor Author

jmmshn commented Aug 1, 2023

A line was commented out here:
6690d0a

@munrojm munrojm merged commit 5f8074f into materialsproject:main Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants