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

[Storage] [Typing] [Blob] Misc files (_serialize.py, _deserialize.py, _download.py) #33613

Conversation

vincenttran-msft
Copy link
Member

@vincenttran-msft vincenttran-msft commented Dec 18, 2023

(Updated 1/11)
Remaining errors on:

_deserialize.py:
azure\storage\blob_deserialize.py:159: error: Incompatible types in assignment (expression has type "Optional[BlobType]", variable has type "BlobType") [assignment]
azure\storage\blob_deserialize.py:169: error: Incompatible types in assignment (expression has type "Optional[datetime]", variable has type "datetime") [assignment]
azure\storage\blob_deserialize.py:171: error: Incompatible types in assignment (expression has type "Optional[int]", variable has type "int") [assignment]
azure\storage\blob_deserialize.py:173: error: Incompatible types in assignment (expression has type "Optional[bool]", variable has type "bool") [assignment]
azure\storage\blob_deserialize.py:177: error: Incompatible types in assignment (expression has type "Union[str, AccessTier, None]", variable has type "Optional[StandardBlobTier]") [assignment]

  • Going to let these slide as they will be resolved in a following PR.

_download.py:
Left seperate comments for them

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Dec 18, 2023
@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 19, 2023

API change check

API changes are not detected in this pull request.

@vincenttran-msft vincenttran-msft changed the title [Storage] [Typing] Misc files (_serialize.py) [Storage] [Typing] Misc files (_serialize.py, _deserialize.py) Dec 19, 2023
@vincenttran-msft vincenttran-msft changed the title [Storage] [Typing] Misc files (_serialize.py, _deserialize.py) [Storage] [Typing] Misc files (_serialize.py, _deserialize.py, _download.py) Dec 20, 2023
@vincenttran-msft vincenttran-msft changed the title [Storage] [Typing] Misc files (_serialize.py, _deserialize.py, _download.py) [Storage] [Typing] [Blob] Misc files (_serialize.py, _deserialize.py, _download.py) Dec 20, 2023
@vincenttran-msft
Copy link
Member Author

/azp run python - storage - ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vincenttran-msft vincenttran-msft merged commit 3372a74 into Azure:feature/storage-blob-typing2 Jan 24, 2024
18 checks passed
@vincenttran-msft vincenttran-msft deleted the vincenttran/blob_typing_2 branch January 24, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants