lyft / lyft/pynamodb-attributes

UnicodeDelimitedTupleAttribute does not support datetime.datetime objects

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
62
Forks
12
PR merge metrics
No merged PRs in 30d

Description

The deserialization of the UnicodeDelimitedTupleAttribute does not support `datetime` objects and results in the error: "TypeError: 'str' object cannot be interpreted as an integer"

It would be useful for this type to support `datetime.datetime` objects.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate UnicodeDelimitedTupleAttribute and reproduce deserialization with a datetime.datetime value to confirm the reported TypeError. Done means datetime.datetime values deserialize successfully without the string-to-integer error; the payload does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.