2.3 KiB

title slug
Server Mixin /sdk/python/api-reference/server-mixin

{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

module server_mixin

Mixin class containing Server and client specific methods

To be used by OpenMetadata class


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

class VersionMismatchException

Used when server and client versions do not match


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

class VersionNotFoundException

Used when server doesn't return a version


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

class OMetaServerMixin

OpenMetadata API methods related to the Pipeline Entity

To be inherited by OpenMetadata


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method get_server_version

get_server_version()  str

Run endpoint /system/version to check server version :return: Server version


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method validate_versions

validate_versions()  None

Validate Server & Client versions. They should match. Otherwise, raise VersionMismatchException