Daniel Gafni
12/19/2022, 9:57 AMDefinitions
API (the code is much cleaner now!), but my Dagster deployment is not loading them for some reason.
I have 2 code locations which I'm accessing via the gRPC API. The containers don't have any suspicious logs. Everything works fine when starting dagit
locally in the code locations repos. I'm using the pyproject.toml
config.
What can cause this problem?schrockn
12/19/2022, 1:03 PMDaniel Gafni
12/19/2022, 5:53 PMrepository
to Definition
.workspace.yaml
:
load_from:
- grpc_server:
host: dagster-code-fetcher
port: 4000
location_name: Fetcher
- grpc_server:
host: dagster-code-afi
port: 4001
location_name: AFI
command: ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000"]
thinking about it again... maybe it ignores the code location in pyproject.toml
? at least it doesn't crash but maybe there is a bug that just ignores it...dagsterapi grpc
doesn't read the [tool.dagster]
config from pyproject.toml
by default, unlike dagit
.schrockn
12/19/2022, 6:11 PM-m
or -f
flags to workaroundDaniel Gafni
12/19/2022, 6:11 PM