File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ source env/bin/activate
100100python3 -m pip install -r requirements-dev.txt
101101
102102# # Install locally
103- pip install -e .
103+ pip install -e .[adlfs,azure,dev]
104104
105105# # Format code
106106./scripts/format
Original file line number Diff line number Diff line change @@ -43,10 +43,11 @@ class SASBase(BaseModel):
4343 expiry : datetime = Field (alias = "msft:expiry" )
4444 """RFC339 datetime format of the time this token will expire"""
4545
46- class Config :
47- if _PYDANTIC_2_0 :
48- populate_by_name = True
49- else :
46+ if _PYDANTIC_2_0 :
47+ model_config = pydantic .ConfigDict (populate_by_name = True )
48+ else :
49+
50+ class Config :
5051 allow_population_by_field_name = True
5152 json_encoders = {datetime : datetime_to_str }
5253
Original file line number Diff line number Diff line change 11black == 24.3.0
2- flake8 == 4.0.1
2+ flake8 == 7.2.0
33ipdb == 0.13.9
4- mypy == 0.961
4+ mypy == 1.15.0
55types-requests == 2.28.1
66setuptools == 65.5.1
77pytest
You can’t perform that action at this time.
0 commit comments