Source code for finsec.utils

import pydantic

forbid_extra = pydantic.Extra.forbid


[docs]def placeholder(): return None
[docs]def mmax(x, y): return None if x is None or y is None else max(x, y)
[docs]def mmin(x, y): return None if x is None or y is None else min(x, y)