sob/meta.py
def version(
    data: abc.Model,
    specification: str,
    version_number: Union[str, int, Sequence[int]],
) -> None:
    """
    Recursively alters model class or instance metadata based on version number
    metadata associated with an object's properties. This allows one data model
    to represent multiple versions of a specification and dynamically change
    based on the version of a specification represented.

    Parameters:

    - data ([sob.model.Model](#Model))
    - specification (str): The specification to which the `version_number`
      argument applies.
    - version_number (str|int|[int]): A version number represented as text
      (in the form of integers separated by periods), an integer, or a
      sequence of integers.
    """
    assert_is_instance("data", data, abc.Model)
    if isinstance(data, abc.Object):
        _version_object(data, specification, version_number)
    elif isinstance(data, abc.Dictionary):
        _version_dictionary(data, specification, version_number)
    elif isinstance(data, abc.Array):
        _version_array(data, specification, version_number)

    Recursively alters model class or instance metadata based on version number
    metadata associated with an object's properties. This allows one data model
    to represent multiple versions of a specification and dynamically change
    based on the version of a specification represented.

    Parameters:

    - data ([sob.model.Model](#Model))
    - specification (str): The specification to which the `version_number`
      argument applies.
    - version_number (str|int|[int]): A version number represented as text
      (in the form of integers separated by periods), an integer, or a
      sequence of integers.
    
Recursively alters model class or instance metadata based on version number
metadata associated with an object's properties. This allows one data model
to represent multiple versions of a specification and dynamically change
based on the version of a specification represented.



data ([sob.model.Model](#Model))
specification (str): The specification to which the `version_number`
argument applies.
version_number (str|int|[int]): A version number represented as text
(in the form of integers separated by periods), an integer, or a
sequence of integers.
Recursively alters model class or instance metadata based on version number metadata associated with an object ' s properties . This allows one data model to represent multiple versions of a specification and dynamically change based on the version of a specification represented . data ( [ sob . model . Model ] ( #Model )) specification ( str ) : The specification to which the ` version_number ` argument applies . version_number ( str|int| [ int ] ) : A version number represented as text ( in the form of integers separated by periods ) an integer or a sequence of integers .
def version(
    data: abc.Model,
    specification: str,
    version_number: Union[str, int, Sequence[int]],
) -> None:
    assert_is_instance("data", data, abc.Model)
    if isinstance(data, abc.Object):
        _version_object(data, specification, version_number)
    elif isinstance(data, abc.Dictionary):
        _version_dictionary(data, specification, version_number)
    elif isinstance(data, abc.Array):
        _version_array(data, specification, version_number)
def version ( data : abc . Model , specification : str , version_number : Union [ str , int , Sequence [ int ] ] , ) -> None : assert_is_instance ( "data" , data , abc . Model ) if isinstance ( data , abc . Object ) : _version_object ( data , specification , version_number ) elif isinstance ( data , abc . Dictionary ) : _version_dictionary ( data , specification , version_number ) elif isinstance ( data , abc . Array ) : _version_array ( data , specification , version_number )
Recursively alters model class or instance metadata based on version number
metadata associated with an object's properties.
Recursively alters model class or instance metadata based on version number metadata associated with an object ' s properties .
"""
    Recursively alters model class or instance metadata based on version number
    metadata associated with an object's properties. This allows one data model
    to represent multiple versions of a specification and dynamically change
    based on the version of a specification represented.

    Parameters:

    - data ([sob.model.Model](#Model))
    - specification (str): The specification to which the `version_number`
      argument applies.
    - version_number (str|int|[int]): A version number represented as text
      (in the form of integers separated by periods), an integer, or a
      sequence of integers.
    """
data
abc.Model
specification
str
version_number
Union[str, int, Sequence[int]]