There seems to be a typo/bug in `TableRecord` in ...
# ask-community
c
There seems to be a typo/bug in
TableRecord
in the docs: https://docs.dagster.io/_apidocs/ops#dagster.MetadataValue.table It says the signature of a TableRecord is as follows:
Copy code
TableRecord(code="invalid-data-type", row=2, col="name"}]
Which obviously isn't correct python syntax. It ought to be:
Copy code
TableRecord(code="invalid-data-type", row=2, col="name")
Upon looking at the actual source code However it still doesn't seem to work. Not sure what the exact bug is, but I get a:
Copy code
TypeError: TableRecord.__new__() takes 1 positional argument but 2 were given
🤖 1
https://github.com/dagster-io/dagster/pull/10579 I created a PR for the documentation part of the problem
❤️ 1
🙏 1
@Fraser Marlow I can see you reacted 😄 can you confirm that this is infact a bug?
f
@daniel would be the expert on this one - I will let him weigh in.
c
I'll see if I can provide a complete stack trace tomorrow
🙏 1
Rather than throwing stack traces here, i created an issue on github https://github.com/dagster-io/dagster/issues/10661
w
Was this ever resolved?
c
d
yep still not working