Using: `# Create a FlyteRemote instance (replace ...
# flyte-support
s
Using:
# Create a FlyteRemote instance (replace with your actual configuration)
remote = FlyteRemote(config="/home/gga/.flyte/config-sandbox.yaml")
print(remote.address)
results in a platform error on the FlyteRemote config line.
I can access my local flyte dashboard at localhost:30080 and see the project, but there's no way to login (fails) and there's no button or way to activate it.
f
are you trying to do this programmatically?
You cannot directly point to the config file (maybe we should do that in the future) Here is a code snippet
Copy code
from flytekit.remote import FlyteRemote
from flytekit.configuration import Config

r = FlyteRemote(Config.for_sandbox())
OR
Copy code
from flytekit.remote import FlyteRemote
from flytekit.configuration import Config

r = FlyteRemote(Config.auto("...config-file-path.yaml"))