Skip to content

Simple 7993 deprecated module names #156

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

Open
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

virlos
Copy link
Collaborator

@virlos virlos commented Jun 26, 2025

Apparently DeprecationWarning is ignored by default (except by code in main). I doubt users would run their scripts in a mode that enables such warnings. Therefore I also propose to use the default UserWarning instead.

tmikuska and others added 30 commits November 22, 2024 00:03
Fixed type annotations for the convergence wait time
* Add support for a starting index when connecting nodes.

By default, the `lab.connect_two_nodes()` connects the next two
available indexes.  Extend this to allow an index where you can start
at, for example, 1.  This could allow to skip mgmt interfaces.

* Consume the position element.

Spotted by: Patrick Mosko

---------

Co-authored-by: Joe Clarke <[email protected]>
Switched all __repr__ to f-string; Shortened some __repr__ to only include useful/meaningful info for its purposes.

Addressed missing pre-commit tests and incorrect indentation.

Simplified node constructor to ease manual use. Modified create node methods accordingly.

Addressed unresolved reviews.
* Updated get_diagnostics method to use new endpoints. Returning either selected ones or all by default.

* Fixed get_diagnostics (error handling, fixed endpoint construction). Added new unit tests.

Co-authored-by: Branislav Taran <[email protected]>
* SIMPLE-7496 Deprecated get_diagnostics with no args

Removed unused group permissions

Renamed modules (no need to use plural)

Fixed indents in docstrings and docstring themselves in a couple of modules
* SIMPLE-7461: initial consolidation of .*NotFound and ElementAlreadyExists exceptions

* SIMPLE-7461: implemented fixes based on review

* minor cleanup

---------

Co-authored-by: Tomas Mikuska <[email protected]>
* SIMPLE-7433 nodes_count added to compute

* SIMPLE-7433 nodes_count renamed to node_counts

* Deprecated the nodes property

---------

Co-authored-by: Tomas Mikuska <[email protected]>
@virlos virlos requested review from rschmied and tmikuska June 26, 2025 08:04
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.

7 participants