hpcflow.sdk.typing.hydrate#

hpcflow.sdk.typing.hydrate(cls)#

Partially hydrates the annotations on fields in a class, so that a @dataclass annotation can recognise that ClassVar-annotated fields are class variables.

Parameters:

cls (type[~_T]) –

Return type:

type[~_T]