Ml-metadata

Latest version: v1.16.0

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.25.0

Major Features and Improvements

* Supports MetadataStoreClientConfig options `client_timeout_sec` from the
python client. The grpc APIs would return DeadlineExceededError when server
does not respond within `client_timeout_ms`.
* From this release MLMD will also be hosting nightly packages on
https://pypi-nightly.tensorflow.org. To install the nightly package use the
following command:


pip install --extra-index-url https://pypi-nightly.tensorflow.org/simple ml-metadata


Note: These nightly packages are unstable and breakages are likely to
happen. The fix could often take a week or more depending on the complexity
involved for the wheels to be available on the PyPI cloud service. You can
always use the stable version of MLMD available on PyPI by running the
command `pip install ml-metadata` .

* Upgrades MLMD schema version to 6.

- Add `ParentType` table for supporting type inheritance.
- Add `Type`.`version` column for Type evolution development.
- Add `Type`.`idx_type_name` index for type lookup APIs.
- Add `Type`.`description` column for capturing static information about
Type.
- Add `ParentContext` table for supporting context parental relationship.
- Add `Artifact`.`idx_artifact_uri` for filtering artifacts by uri.
- Add `Event`.`idx_event_artifact_id` and `idx_event_execution_id` for
lineage traversal APIs.
- Add indices on `create_time_since_epoch`, `last_update_time_since_epoch`
for `Artifact`, `Execution` and `Context` for sorted listing queries.

* Allows omitting stored properties when using `put_artifact_type`,
`put_execution_type`, `put_context_type`, to help writing forward
compatibility MLMD type registration calls.

Bug Fixes and Other Changes

* Optimizes GetContext*/GetArtifact*/GetExecution* and corresponding List*
calls to reduce number of backend queries.
* Documentation fixes for QueryExecutor methods.

Breaking Changes

* N/A

Deprecations

* Deprecates `all_fields_match` and `can_delete_fields` from python APIs
`put_artifact_type`, `put_execution_type`, `put_context_type`. In previous
releases these parameters can only be set with default values, otherwise
Unimplemented error returns. This change should be no-op for all existing
users.

0.24.0

Major Features and Improvements

* Improves building wheels from source with `setup.py`.
* Supports configure GRPC options `max_receive_message_length` from the python
client.
* Adds python 3.8 support.

Bug Fixes and Other Changes

* Adds `grpcio` as py client dependency.
* Replaces the C++ MOCK_METHOD`<n>` family of macros with the new MOCK_METHOD
* Updates node's `last_update_time_since_epoch` when changing
(custom)properties.
* Disables incompatible Golang BUILD targets temporarily.
* Support GetArtifactByTypeAndName, GetExecutionByTypeAndName,
GetContextByTypeAndName Go API

Breaking Changes

* N/A

Deprecations

* Deprecated py3.5 support

0.23.0

Major Features and Improvements

* GetArtifacts, GetExecutions and GetContexts now supports pagination and
ordering results by ID, Create time and last update time fields.

Bug Fixes and Other Changes

* Python MetadataStore now exposes get_artifact_by_type_and_name and
get_execution_by_type_and_name methods.
* Improves query performance of get_events_by_execution_ids and
get_events_by_artifact_ids by combing multiple queries.
* Drops python dependency on tensorflow to make ml-metadata be friendly with
non-TFX use cases.

Breaking Changes

* Python MetadataStore APIs return mlmd errors instead of tensorflow errors.

Deprecations

* Note: We plan to remove Python 3.5 support after this release.

0.22.1

Major Features and Improvements

* Uses metadata_store per request for grpc server to improve scalability.

Bug Fixes and Other Changes

* Uses Iterable[int] instead Sequence[int] for listing APIs accepting ids.
* Depends on `tensorflow>=1.15,!=2.0.*,<3`

Breaking changes

Deprecations

* Drops Python 2 support and stops releasing py2 wheels.

0.22.0

Major Features and Improvements

* Upgrades MLMD schema version to 5.
- Added state columns to persistent Artifact.state,
Execution.last_known_state
- Added user-given unique name per type column to Artifact and Execution.
- Added create_time_since_epoch, last_update_time_since_epoch to all
Nodes.
* Provides GetArtifactByTypeAndName and GetExecutionByTypeAndName API to get
artifact/execution by type and name.
* Refactors transaction executions using TransactionExecutor class.
* Supports storing/retrieving Artifact.state and Execution.last_known_state.

Bug Fixes and Other Changes

* Returns explicit InvalidArgument for get_artifacts_by_uri from 0.15.x
clients when using 0.21.0+ server.

Breaking changes

Deprecations

0.21.2

Major Features and Improvements

Bug Fixes and Other Changes

* Updates logging level for python mlmd client.

Breaking changes

Deprecations

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.