https://dagster.io/ logo
#tools
Title
# tools
p

Paul Wyatt

11/18/2020, 7:54 PM
I'm seeing an error when attempting to import
dagster-pagerduty
TypeError: 'DagsterDictApi' object is not callable
Could this be version related.?We're on dagster 0.9.3
n

nate

11/18/2020, 8:15 PM
hey Paul, can you share more about the error here? is there a stack trace?
p

Paul Wyatt

11/18/2020, 8:27 PM
Copy code
>>> import dagster_pagerduty
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/paulwyatt/code/applied-ai/.aidev/lib/python3.7/site-packages/dagster_pagerduty/__init__.py", line 3, in <module>
    from .resources import pagerduty_resource
  File "/Users/paulwyatt/code/applied-ai/.aidev/lib/python3.7/site-packages/dagster_pagerduty/resources.py", line 159, in <module>
    routing_key in the event payload.''',
TypeError: 'DagsterDictApi' object is not callable
@nate see above, feels quite mysterious
pip list gives me
Copy code
dagit                         0.9.3
dagster                       0.9.3
dagster-airflow               0.9.3
dagster-aws                   0.9.3
dagster-bash                  0.7.16
dagster-cron                  0.9.3
dagster-gcp                   0.9.3
dagster-graphql               0.9.3
dagster-k8s                   0.9.3
dagster-pagerduty             2019.6.2
dagster-pandas                0.9.3
dagster-postgres              0.9.3
dagster-slack                 0.9.3
n

nate

11/18/2020, 9:01 PM
well that’s one problem - that 2019.6.2 release is wrong, I just yanked it from pypi
can you try
pip install dagster-pagerduty==0.9.3
and try again?
👍 1
p

Paul Wyatt

11/18/2020, 11:56 PM
that fixed it. Thanks @nate!
n

nate

11/19/2020, 12:00 AM
👍 awesome
the library is pretty minimal right now, feel free to lmk if you need support for more stuff there
4 Views