Ml-metadata

Latest version: v1.15.0

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

Scan your dependencies

Page 4 of 6

0.29.0

Major Features and Improvements

* N/A

Bug Fixes and Other Changes

* Uses Pybind11 instead of SWIG to wrap C++ libraries for MLMD python client.
* Depends on `absl-py>=0.9,<0.13`.

Breaking Changes

* N/A

Deprecations

* N/A

0.28.0

Major Features and Improvements

* Extends type identifier to be (name, version). The version is optional and
backward compatible with existing usage.
* Supports versioned creation and listing of types in gRPC for non-backward
compatible type evolutions.

Bug Fixes and Other Changes

* N/A

Breaking Changes

* N/A

Deprecations

* N/A

0.27.0

Major Features and Improvements

* Introduce `google.protobuf.Struct` as an additional `Value` type for storing
complex, JSON-objects in MLMD.

Bug Fixes and Other Changes

* MLMD wheel for MacOS is now built with minimum OS version 10.9. This will
improve compatibility for the older MacOS versions.

Breaking changes

* N/A

Deprecations

* N/A

0.26.0

Major Features and Improvements

* Exposes limit and order_by parameters to get_artifacts, get_executions and
get_contexts API in python MetadataStore client to allow users to specify
the maximum results to retrieve and the field the results to be ordered by.

Bug Fixes and Other Changes

* Adds `attrs` as py client dependency.

Breaking changes

* N/A

Deprecations

* N/A

0.25.1

Major Features and Improvements

* Adds `reuse_context_if_already_exist` option to `put_execution` python API
to better support concurrent execution publishing with the same new context.
* Supports pagination and ordering options in GetExecutionsByContext and
GetArtifactsByContext APIs.

Bug Fixes and Other Changes

* N/A

Breaking changes

* N/A

Deprecations

* N/A

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.

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.