Skip to content
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

None input to a String field raise an TypeError #80

Open
samuelcolvin opened this issue Aug 9, 2023 · 4 comments
Open

None input to a String field raise an TypeError #80

samuelcolvin opened this issue Aug 9, 2023 · 4 comments

Comments

@samuelcolvin
Copy link
Contributor

Error is:

   await self.write_items(prepared)
  File "/usr/local/lib/python3.11/site-packages/asynch/proto/columns/stringcolumn.py", line 13, in write_items
    await self.writer.write_strings(items)
  File "/usr/local/lib/python3.11/site-packages/asynch/proto/streams/buffered.py", line 49, in write_strings
    await self.write_varint(len(packet))
                            ^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
@Wally110
Copy link

I encountered the same issue.

@long2ice
Copy link
Owner

Use Nullable(String) instead of String

@stankudrow
Copy link
Contributor

@samuelcolvin , hello. Could you close this issue if it is not actual any more?

@stankudrow
Copy link
Contributor

@samuelcolvin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants