Updated my_document to dict from a tuple #91

Merged
russellballestrini merged 1 commit from github/fork/thoscott/master into master 2021-11-11 13:23:49 -05:00
russellballestrini commented 2021-11-11 12:38:50 -05:00 (Migrated from git2.unturf.com)

Created by: thoscott

The current my_document has a hanging comma, which would prevent it
from rendering properly in the example cases provided by the README.

>>> my_document = {
... "name" : "Rocko Ballestrini",
... "email_address" : "test1@example.com",
... "other" : {
...     "secondary_email" : "test2@example.com",
...     "EMAIL_RECOVERY" : "test3@example.com",
...     "email_address" : "test4@example.com",
...     },
... },
>>> type(my_document)
<class 'tuple'>
>>> my_document = {
... "name" : "Rocko Ballestrini",
... "email_address" : "test1@example.com",
... "other" : {
...     "secondary_email" : "test2@example.com",
...     "EMAIL_RECOVERY" : "test3@example.com",
...     "email_address" : "test4@example.com",
...     },
... }
>>> type(my_document)
<class 'dict'>
>>> 
*Created by: thoscott* The current my_document has a hanging comma, which would prevent it from rendering properly in the example cases provided by the README. ``` >>> my_document = { ... "name" : "Rocko Ballestrini", ... "email_address" : "test1@example.com", ... "other" : { ... "secondary_email" : "test2@example.com", ... "EMAIL_RECOVERY" : "test3@example.com", ... "email_address" : "test4@example.com", ... }, ... }, >>> type(my_document) <class 'tuple'> >>> my_document = { ... "name" : "Rocko Ballestrini", ... "email_address" : "test1@example.com", ... "other" : { ... "secondary_email" : "test2@example.com", ... "EMAIL_RECOVERY" : "test3@example.com", ... "email_address" : "test4@example.com", ... }, ... } >>> type(my_document) <class 'dict'> >>> ```
russellballestrini commented 2021-11-11 13:23:49 -05:00 (Migrated from git2.unturf.com)

Merged by: russellballestrini at 2021-11-11 18:23:49 UTC

*Merged by: russellballestrini at 2021-11-11 18:23:49 UTC*
russellballestrini commented 2021-11-11 13:23:57 -05:00 (Migrated from git2.unturf.com)

Created by: russellballestrini

Thanks.

*Created by: russellballestrini* Thanks.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: python/nested-lookup#91
No description provided.