https://dagster.io/ logo
#dagster-feedback
Title
# dagster-feedback
w

won

02/24/2023, 9:48 AM
find some docs error here in example https://dagster.io/integrations/dagster-gcp can't find place to make pr, so
Copy code
from dagster import asset, with_resources
from dagster_gcp.gcs import gcs_pickle_io_manager, gcs_resource
import pandas as pd

@asset
def asset1():
    return pd.DataFrame()

@asset
def asset2(asset1):
    return asset1[:5]


@repository
def repo():
    return with_resources(
        [asset1, asset2],
        resource_defs={
            "io_manager": gcs_pickle_io_manager.configured(
                {"gcs_bucket": "my-cool-bucket", "gcs_prefix": "my-cool-prefix"}
            ),
            "gcs": gcs_resource,
        },
    )
c

claire

02/24/2023, 9:26 PM
Thanks for raising! I've opened a PR: https://github.com/dagster-io/dagster/pull/12545 In the future, you can open a PR on our github repo here: https://github.com/dagster-io/dagster