Skip to content

Conversation

@dimaqq
Copy link
Contributor

@dimaqq dimaqq commented Nov 20, 2024

Improve type hints.
Sourced from #1104
These type hints will be used to upstream the new wait_for_idle()

@dimaqq dimaqq marked this pull request as ready for review November 20, 2024 08:52
Copy link
Contributor

@james-garner-canonical james-garner-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just one potential blocker -- behaviour change for Model.info which I guess just means either correct the docstring or revert the behaviour change (and change the type annotation accordingly).

@dimaqq dimaqq force-pushed the chore-type-hints-for-wait-for-idle branch from 43d1935 to 99d8fc1 Compare November 22, 2024 03:23
@dimaqq
Copy link
Contributor Author

dimaqq commented Nov 22, 2024

re self._info, pls reload

Copy link
Contributor

@james-garner-canonical james-garner-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just one docstring inaccuracy that could be fixed before merging

@dimaqq
Copy link
Contributor Author

dimaqq commented Nov 22, 2024

I'll need to either wait for canonical/pylxd#615

Or rip out the tox.ini and deps changes and chuck them aside... to a separate PR.

@dimaqq
Copy link
Contributor Author

dimaqq commented Nov 22, 2024

/merge

@jujubot jujubot merged commit f176d82 into juju:main Nov 22, 2024
15 of 19 checks passed
@dimaqq dimaqq deleted the chore-type-hints-for-wait-for-idle branch January 6, 2025 06:46
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.

3 participants