Open littlepea opened 2 years ago
I'm having issues when running the post-scraping conversion on this data:
poetry run python main.py --input-file data/umapa.csv
File "/Users/evgeny.demchenko/workspace/safeway-data/main.py", line 31, in main
component.usecase.convert_file(input_file) \
File "/Users/evgeny.demchenko/workspace/safeway-data/usecases/convert_data.py", line 81, in convert_file
result = flow(
File "/Users/evgeny.demchenko/Library/Caches/pypoetry/virtualenvs/safeway-data-o4dQSjxI-py3.9/lib/python3.9/site-packages/returns/_internal/pipeline/flow.py", line 50, in flow
return reduce( # type: ignore
File "/Users/evgeny.demchenko/Library/Caches/pypoetry/virtualenvs/safeway-data-o4dQSjxI-py3.9/lib/python3.9/site-packages/returns/_internal/pipeline/flow.py", line 51, in <lambda>
lambda composed, function: function(composed), # type: ignore
File "/Users/evgeny.demchenko/workspace/safeway-data/repositories/csv.py", line 70, in read
entries.append(PointOfInterest(**row))
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for PointOfInterest
tags
value is not a valid list (type=type_error.list)
Source: https://www.umapa.eu/