You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Pull Request
## Title
Small refactor to `Status.parse`
______________________________________________________________________
## Description
- Rename `Status.from_dict` -> `Status.parse`
- Allow `Status.parse` to accept a `Status` as an argument and return it
as is.
(complete convenience for some python comprehension code elsewhere)
- Add a test for that.
______________________________________________________________________
## Type of Change
- 🔄 Refactor
______________________________________________________________________
## Testing
Small new CI check and existing tests.
______________________________________________________________________
## Additional Notes (optional)
For convenience in another PR - #980
______________________________________________________________________
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com>
0 commit comments