-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
TypeError: issubclass() arg 1 must be a class when having a field with a complex type #67
Open
8 tasks done
Labels
question
Further information is requested
Comments
🆙 |
Up! |
different cause it seems, but #121 has a similar error. |
same Problem |
same problem here! |
8 tasks
thank you to the maintainers & contributors of this awesome library! For anyone who encounters this bug while trying to assign a
|
Any update on this issue? |
same happen using UUID4 for id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First Check
Commit to Help
Example Code
Description
I would like to create a
semantic_search
table in thedatabase.db
sqlite database with the 6 fields specified.The last field
semantic_search_result
withList[Tuple[int, Dict[str, Union[str, int, float]]]]
type seems to cause the error.semantic_search_result
looks like this for example:When running the code I got the following error:
I got the same error if I tried to define a subclass of the
typing_extensions.TypedDict
class:I couldn't find a solution but #57 seems to have the same problem since having the same error.
Operating System
Linux
Operating System Details
Ubuntu 18.04 LTS
SQLModel Version
0.0.4
Python Version
3.8.8
Additional Context
No response
The text was updated successfully, but these errors were encountered: