You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my side i have just commented out fields.LocalDateTime from your mapping file.
You would maybe like to have the same patch on your side? Depending on the marshmallow versions?
Let me know.
Here is the full backtrace:
Traceback (most recent call last):
File "scripts/gen_typescript.py", line 1, in <module>
from typemallow import ts_interface, generate_ts
File "/nobackup/lvalls1/valls/Software/miniconda3/envs/tomodemo-daiquiri-env/lib/python3.7/site-packages/typemallow/__init__.py", line 2, in <module>
from .mappings import mappings
File "/nobackup/lvalls1/valls/Software/miniconda3/envs/tomodemo-daiquiri-env/lib/python3.7/site-packages/typemallow/mappings.py", line 17, in <module>
fields.LocalDateTime: 'Date',
AttributeError: module 'marshmallow.fields' has no attribute 'LocalDateTime'
The text was updated successfully, but these errors were encountered:
Here is my workaround without patching the lib files
# Workaround related to https://github.com/adenh93/typemallow/issues/3
from marshmallow import fields
fields.LocalDateTime = None
from typemallow import ts_interface, generate_ts
Hi, here is an error when using the following marshmallow libs.
On my side i have just commented out
fields.LocalDateTime
from your mapping file.You would maybe like to have the same patch on your side? Depending on the marshmallow versions?
Let me know.
Here is the full backtrace:
The text was updated successfully, but these errors were encountered: