Hi, community,
I've come across two different parameters both called "image_config" in different parts of the code. I'm a little bit confused about why they are not identical.
Should they represent the same use case, or do they have different purposes?
Here are the instances I am referring to:
remote = FlyteRemote(config=Config.auto(), \
default_project="flytesnacks", default_domain="development")
execution = remote.execute(wf, \
inputs={"name": "Kermit"},\
image_config=ImageConfig("futureoutlier/flyte-practice:latest"))
flyte_workflow = remote.register_workflow(
entity=flyte_entity,
serialization_settings=SerializationSettings(
image_config=ImageConfig.from_images("futureoutlier/flyte-practice:latest"),
project="flytesnacks",
domain="development",
version="v1" # You need to specify the version here.
),
version="v1",
)
Any clarification would be greatly appreciated. Thank you very much!