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 2024-10-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."],[],[]]