Skip to content
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

Added handling for datetime.datetime to JSON serialization exception … #9

Closed
wants to merge 3 commits into from
Closed

Conversation

AndrewG10i
Copy link

@AndrewG10i AndrewG10i commented Aug 2, 2020

In order to avoid issues related to pysolr, particularly pysolr starting from v3.9.0 (3.8.1 works fine) will throw the following exceptions:

  • TypeError: Object of type 'datetime' is not JSON serializable
  • TypeError: datetime.datetime(2012, 8, 8, 21, 46, 24, 862000) is not JSON serializable

Andrew added 3 commits August 2, 2020 15:30
…in pysolr

In order to avoid issues related to pysolr, particularly pysolr starting from v3.9.0 (3.8.1 works fine) will throw the following exceptions:
- TypeError: Object of type 'datetime' is not JSON serializable
- TypeError: datetime.datetime(2012, 8, 8, 21, 46, 24, 862000) is not JSON serializable
Added support for the "skipUpdateNsSuffixes": [] param.
Added additional logging for GridFS insertion logic
@AndrewG10i AndrewG10i closed this Aug 4, 2020
@AndrewG10i
Copy link
Author

Pull-request points to a wrong tag, will reissue now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant