-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load job definition error "TypeError: unhashable type: 'list'" #21815
Labels
Comments
I am having the same problem after upgrading to 1.7.5 but my assets are dbt assets, not airbyte |
garethbrickman
changed the title
Could not load Job Definitions Error (Airbyte / Docker / gRPC)
Could not load job definition error "TypeError: unhashable type: 'list'"
May 13, 2024
Could you post full stack traces for the error? |
|
downgrading to 1.7.4 restores normal behavior |
Hi @kamegg13, thank you for the detailed report. I've opened up a PR to resolve this issue, which we should be able to get into this week's 1.7.6 release. |
sryza
pushed a commit
that referenced
this issue
May 14, 2024
…of metadata to error (#21819) ## Summary & Motivation Resolves: #21815 Note that while the test involved here is referencing `CacheableAssetsDefinition`, this same error would occur with regular assets. Any asset using a `MetadataValue` which contains within it a mutable object (which would be table schema and table column lineage which contain lists I believe) would encounter a similar error. After switching the core `MetadataValue` class from a `NamedTuple` to a pydantic model, the code we use to generate hashes for our serializable objects stopped handling them. This PR fixes this. ## How I Tested These Changes After updating the test to include metadata of this type, observed the mentioned error. These changes resolved it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dagster version
dagster, version 1.7.5
What's the issue?
Hi there, I am using Dagster with Docker-compose with a gRPC server. I am trying to materialize Airbyte Assets with Dagster, but I am encountering an error in the assets log materialization:
When I use Dagster with Python locally, version 1.7.3, it works perfectly fine. However, when I use Dagster 1.7.5 with docker, I always get the same error, even with other basic assets. The error occurs as soon as I declare my Airbyte assets in the code. Below is the smallest code that I can use to reproduce the error:
thanks for your help
What did you expect to happen?
I expect it to work normally, like on local dagster Core. My EnvVar are correctly set up, and these airbyte assets importation and materialization worked correctly on Dagster 1.7.3, I used the same code but it doesn't work now. Something has been modified on the new version 1.7.5.
How to reproduce?
code:
Deployment type
Docker Compose
Deployment details
Docker version 3.7
python:3.10-slim
Using 2 dockerfiles: Docker_user_code and Docker_dagster (
You need to add your airbyte credentials in the env variables in the docker-compose.yml , specially in the docker_daemon and the docker_user_code
main.py
Dagster.yaml
Dockerfile_dagster
Dockerfile_user_code
workspace.yaml
docker-compose.yml
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: