Skip to content

Commit

Permalink
update changelog and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Sadkowski committed Mar 6, 2024
1 parent 21c998f commit 1863684
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Added `get_workspace_status()` method to management API ([#1662](https://github.com/neptune-ai/neptune-client/pull/1662))
- Added auto-scaling pixel values for image logging ([#1664](https://github.com/neptune-ai/neptune-client/pull/1664))
- Introduce querying capabilities to `fetch_runs_table()` ([#1660](https://github.com/neptune-ai/neptune-client/pull/1660))
- Introduce querying capabilities to `fetch_models_table()` ([#1677](https://github.com/neptune-ai/neptune-client/pull/1677))

### Fixes
- Restored support for SSL verification exception ([#1661](https://github.com/neptune-ai/neptune-client/pull/1661))
Expand Down
7 changes: 5 additions & 2 deletions src/neptune/metadata_containers/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def fetch_models_table(
Args:
query: NQL query string. Syntax: https://docs.neptune.ai/usage/nql/
Example: `"some model query"`.
Example: `"(model_size: float > 100) AND (backbone: string = VGG)"`.
trashed: Whether to retrieve trashed models.
If `True`, only trashed models are retrieved.
If `False`, only not-trashed models are retrieved.
Expand Down Expand Up @@ -390,7 +390,10 @@ def fetch_models_table(
... # Extract the ID of the first listed (oldest) model object
... last_model_id = models_table_df["sys/id"].values[0]
>>> TODO query example
>>> # Fetch models with VGG backbone
... models_table_df = project.fetch_models_table(
query="(backbone: string = VGG)"
).to_pandas()
See also the API reference in the docs:
https://docs.neptune.ai/api/project#fetch_models_table
Expand Down

0 comments on commit 1863684

Please sign in to comment.