Ariel Kaspit
06/11/2023, 2:36 PMJay Ganbat
06/11/2023, 7:19 PMFlyteContext
might be a good object to checkout, its available through
ctx = FlyteContext.current_context()
and i saw there is an object called
serialization_settings
in FlyteContext
that has the domain
class SerializationSettings(object):
"""
These settings are provided while serializing a workflow and task, before registration. This is required to get
runtime information at serialization time, as well as some defaults.
image_config: ImageConfig
project: typing.Optional[str] = None
domain: typing.Optional[str] = None
version: typing.Optional[str] = None
env: Optional[Dict[str, str]] = None