Adrian Rumpold
12/13/2022, 12:07 PMFlyteRemote
or similar (i.e., flytekit.clients.friendly
) API client instance when running in a container?
I have seen Config.auto()
, but it needs a config file to do its magic. Also, there's FlyteContext.flyte_client
, which looks promising but is set to None
, when I try to look it up on a context obtained via FlyteContextManager.current_context()
at runtime.
Any pointers are highly appreciated! 🙏Yee
Config.for_endpoint(endpoint, insecure)
endpoint: str,
insecure: bool = False,
data_config: typing.Optional[DataConfig] = None,
config_file: typing.Union[str, ConfigFile] = None,
that’s the full constructor but the other objects are optionalAdrian Rumpold
12/13/2022, 5:10 PMYee