Is there an easy way to support type hints on para...
# ask-community
d
Is there an easy way to support type hints on parameters like
@op
def foo(context, bar:[MyType]) ?
🤖 1
s
Hi Daniel, We do already support type hints on parameters-- or perhaps I’m misunderstanding what you’re asking about? Could you elaborate a bit?
d
My bad, the issue is that
[MyType]
should be
List[MyType]
and it works
g
Though I made the experience that generic types are not working
s
@geoHeil Does stuff like
List[MyType]
not work for you?
g
This particular case works - but is also not a generic type i.e. my own custom generic type. That fails as documented here https://github.com/dagster-io/dagster/discussions/6913#discussioncomment-2784887