Skip to content

[nbwidgets] Querytime - Fix python 3.12 deprecation warning+ apply typing#849

Merged
ianhelle merged 16 commits intomicrosoft:mainfrom
FlorianBracq:fix-python-3.12-deprecation-warning
May 24, 2025
Merged

[nbwidgets] Querytime - Fix python 3.12 deprecation warning+ apply typing#849
ianhelle merged 16 commits intomicrosoft:mainfrom
FlorianBracq:fix-python-3.12-deprecation-warning

Conversation

@FlorianBracq
Copy link
Collaborator

  • Update nbwidgets.query_time to set timezone info in datetime objects
  • Apply typing to variables and function arguments
  • Explode kwargs

@FlorianBracq
Copy link
Collaborator Author

It doesn't look like the linting errors are related to my updates, how would you like those to be tackled?

ianhelle added 3 commits May 23, 2025 14:10
Adding switch for --use-pep517 to pip install (some transisitive dependencies
are causing pip deprecation warnings
@ianhelle ianhelle merged commit 9bfddd6 into microsoft:main May 24, 2025
10 checks passed
raj-axe pushed a commit to raj-axe/msticpy that referenced this pull request Aug 11, 2025
…ping (microsoft#849)

* Apply typing

* Replace datetime.utcnow with datetime.now(timezone.utc)

* Apply generic typing

* Explode kwargs and complete typing

* Update RegisteredWidget to include classvar

* Linting fixes in current main

* Fixing pylint module-length warnings
Adding switch for --use-pep517 to pip install (some transisitive dependencies
are causing pip deprecation warnings

* Correcting mypy supression in timeseries.py

---------

Co-authored-by: ianhelle <ianhelle@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants