bo4e.utils package

Module contents

utils necessary for reflection/inspection and documentation runs

bo4e.utils.is_constrained_str(model_field: FieldInfo) bool[source]

returns True if the given model_field is a constrained string

bo4e.utils.postprocess_docstring(cls: type[T]) type[T][source]

Postprocess the docstring to inject the __gh_version__ for proper linking of the JSON-schemas. Note that doc-strings in Python have to be string literals, so we cannot use f-strings.