Comments (2)
Here is a straightforward way to reproduce:
- Bootstrap a new project with
dagster project scaffold
- Copy the following into the
assets.py
from dagster import AssetKey, SourceAsset, asset, AssetSpec, external_assets_from_specs
# SourceAsset is fine with a hyphen
my_source_asset = SourceAsset(key=AssetKey(["with-hyphen", "my_source_asset"]))
# Asset is fine with a hyphen
@asset(key=AssetKey(["with-hyphen", "my_asset"]))
def my_asset():
return [1]
# External asset throws a DagsterInvalidDefinitionError with a hyphen in Dagster 1.6.9 and 1.6.10.
my_external_asset = AssetSpec(["with-hyphen", "my_external_asset"])
external_assets = external_assets_from_specs([my_external_asset])
- Run
dagster dev
from dagster.
Thanks so much for root-causing this and creating a fix PR! I will triage to our engineering team for review 👍
from dagster.
Related Issues (20)
- Backfill request header is not propagated to the run launches [bug]
- mypy error in `op_invocation.py` because of incorrect type hint
- Dagster Config typing errors HOT 1
- External asset `deps` ignored by asset lineage
- dagster-snowflake-pandas no longer quotes identifiers HOT 13
- [Documentation Feedback] Problem on /master/dagster-cloud/developing-testing/environment-variables-and-secrets#using-the-dagster-cloud-ui page HOT 2
- Filter /assets based on code location
- Postgres configuration does not work in helm chart
- Add Polars Pandera support
- No longer support for non-english characters in asset names HOT 3
- RabbitMQ version in helm/dagster/values.yaml is very old and has deprecated health endpoints
- Sensor tick delay HOT 2
- Intermittent Readiness Probe Failure for Specific Code Location in Kubernetes Deployment HOT 1
- UI hangs rendering Global Asset Lineage of only 200 assets HOT 19
- use flagged version of md5 hash
- Permission Error [WinError 32]: dagster_webserver tempfile process conflict HOT 2
- Try to open global asset lineage results in TypeError: Cannot read properties of undefined (reading 'height') HOT 2
- Cannot add dependency to resource in asset that is dynamically partitioned HOT 7
- `CheckSpec`s with `blocking` in `multi_asset`s stop the rest of the function from executing HOT 1
- DagsterDbtTranslator.get_asset_key / get_group_name should be non-static HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagster.