octomachinery.github.models.utils module#
A collection of utility functions helping with models.
- class octomachinery.github.models.utils.SecretStr[source]#
Bases:
str
String that censors its __repr__ if called from another repr.
- class octomachinery.github.models.utils.SuperSecretStr[source]#
Bases:
octomachinery.github.models.utils.SecretStr
String that always censors its __repr__.
- octomachinery.github.models.utils.convert_datetime(datetime_obj) datetime.datetime [source]#
Convert arbitrary object into a datetime instance.