mlmd.ListOptions
Stay organized with collections
Save and categorize content based on your preferences.
Defines the available options when listing nodes.
mlmd.ListOptions(
limit=attr_dict['limit'].default,
order_by=attr_dict['order_by'].default,
is_asc=attr_dict['is_asc'].default,
filter_query=attr_dict['filter_query'].default
)
Attributes |
limit
|
The maximum size of the result. If a value is not specified then all
artifacts are returned.
|
order_by
|
The field to order the results. If the field is not provided, then
the order is up to the database backend implementation.
|
is_asc
|
Specifies order_by is ascending or descending. If order_by is
not given, the field is ignored. If order_by is set, then by default
ascending order is used for performance benefit.
|
filter_query
|
An optional boolean expression in SQL syntax to specify
conditions on node attributes and directly connected assets. See
https://github.com/google/ml-metadata/blob/master/ml_metadata/proto/metadata_store.proto#L705-L783 for the query capabilities and syntax.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-11 UTC.
[null,null,["Last updated 2025-04-11 UTC."],[],[],null,["# mlmd.ListOptions\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/ml-metadata/blob/v1.17.0/ml_metadata/metadata_store/metadata_store.py#L72-L92) |\n\nDefines the available options when listing nodes. \n\n mlmd.ListOptions(\n limit=attr_dict['limit'].default,\n order_by=attr_dict['order_by'].default,\n is_asc=attr_dict['is_asc'].default,\n filter_query=attr_dict['filter_query'].default\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `limit` | The maximum size of the result. If a value is not specified then all artifacts are returned. |\n| `order_by` | The field to order the results. If the field is not provided, then the order is up to the database backend implementation. |\n| `is_asc` | Specifies `order_by` is ascending or descending. If `order_by` is not given, the field is ignored. If `order_by` is set, then by default ascending order is used for performance benefit. |\n| `filter_query` | An optional boolean expression in SQL syntax to specify conditions on node attributes and directly connected assets. See https://github.com/google/ml-metadata/blob/master/ml_metadata/proto/metadata_store.proto#L705-L783 for the query capabilities and syntax. |\n\n\u003cbr /\u003e"]]