geoHeil
05/15/2022, 8:09 AMjamie
05/16/2022, 2:27 PMattribute
keyword (link to docs)?
I believe if you updated your workspace.yaml
to
load_from:
- python_package:
package_name: hacker_news_assets
attribute: staging
it you just load the staging repogeoHeil
05/18/2022, 8:23 AMworkspace.yaml
, the target can be either a python file or python package, and you can use an 'attribute' flag to identify a single repository within that target. it should work thoughdagster api grpc -h 0.0.0.0 -p 4000 -f /path/to/my/repository.py --attribute <<repo_name>>
works fine though. So why is attribute
failing when trying to load it from the yaml workspace configuration file?daniel
05/18/2022, 1:49 PMdagster api grpc
geoHeil
05/18/2022, 1:52 PMdagit
internally a) reads the workspace.yaml file and b) spins up an grpc
server (process local). So far, I do not understand why it cannot use this flag when provided in the configuration or phrased differently: why this flag only works when applied to the CLI when manually launching a grpc server.daniel
05/18/2022, 1:55 PMgeoHeil
05/18/2022, 1:59 PMdaniel
05/18/2022, 2:00 PMgeoHeil
05/18/2022, 2:01 PMIn one, dagit is responsible for spinning up the server as a local subprocess
daniel
05/18/2022, 2:01 PMgeoHeil
05/18/2022, 2:08 PMdaniel
05/18/2022, 2:09 PMgeoHeil
05/18/2022, 2:10 PM