Skip to main content
has_schema(schema_name=None, options=)[source]

Checks for the existence of a schema with the given name.

Parameters

schema_name (str) –

Name of the schema to check for existence, in root, using standard name resolution rules.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

schema_name (str) –

Value of input parameter schema_name.

schema_exists (bool) –

Indicates whether the schema exists or not. Allowed values are:

  • True

  • False

info (dict of str to str) –

Additional information.