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

docs: Add versionadded directives for list builds and scans #3774

Merged
merged 1 commit into from Apr 26, 2023

Conversation

liuverta
Copy link
Contributor

Impact and Context

For the changes from

Risks and Area of Effect

Testing

  • Unit test
  • Deployed to dev env
  • Other (explain)

Built locally—see images in PR comments.

Reverting

  • Contains Migration - Do Not Revert

Revert this PR.


.. versionadded:: 0.23.0

"""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 34 54 AM

.. versionchanged:: 0.23.0
Moved from ``verta.endpoint.Build`` to ``verta.endpoint.build.Build``.
.. versionadded:: 0.23.0
The ``date_created`` property.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 38 12 AM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would've put the date_created one with the actual property, but I don't like this blank space we end up rendering

Screen Shot 2023-04-26 at 10 29 46 AM

@@ -47,6 +51,8 @@ class ScanResultEnum(str, Enum):
class BuildScan:
"""A scan of a Verta model build.

.. versionadded:: 0.23.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 40 39 AM

@@ -29,6 +31,8 @@ class ScanProgressEnum(str, Enum):
class ScanResultEnum(str, Enum):
"""The result of a build scan.

.. versionadded:: 0.23.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 41 03 AM

@@ -10,6 +10,8 @@
class ScanProgressEnum(str, Enum):
"""The current progress of a build scan.

.. versionadded:: 0.23.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 41 10 AM

@@ -1697,6 +1697,8 @@ def list_builds(self) -> List[Build]:
"""
Gets this model version's past and present builds.

.. versionadded:: 0.23.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2023-04-26 at 10 41 57 AM

@liuverta liuverta marked this pull request as ready for review April 26, 2023 17:42
@liuverta liuverta merged commit 30de8a3 into main Apr 26, 2023
2 checks passed
@liuverta liuverta deleted the liu/changed branch April 26, 2023 17:44
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.

None yet

2 participants