Is there a way to programmatically create a projec...
# ask-the-community
x
Is there a way to programmatically create a project? (altern. to
flytectl create project
)
k
yup check out the flytekit.remote
x
i can just create project when registering workflow on the flyte
k
?
x
oh, so it’s
flytekit.client
not
flytekit.remote
s
Yeah it's `remote.client`; here's an example: https://github.com/flyteorg/airflow-provider-flyte/blob/bb5d94e7492869f0c0795cdf5a9a87335614b355/flyte_provider/hooks/flyte.py#LL278C18-L278C18 We don't have this available in the remote, but it's easy enough to add!
x
got it, thank you!
151 Views