Skip to content

Conversation

@wojcikstefan
Copy link
Member

This param has been deprecated for a while and indeed it's useless. You can very easily do:

import pprint
(...)

plan = SomeDoc.objects(...).explain()
pprint.pformat(plan)

Copy link
Collaborator

@bagerard bagerard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

As the TODO said, this option was pretty useless. You can very easily do:
```
import pprint
(...)

plan = SomeDoc.objects(...).explain()
pprint.pformat(plan)
```
@wojcikstefan wojcikstefan force-pushed the drop-format-param-from-explain branch from c40f819 to 00e0477 Compare July 1, 2019 08:18
@wojcikstefan wojcikstefan merged commit d0b87f7 into master Jul 1, 2019
@wojcikstefan wojcikstefan deleted the drop-format-param-from-explain branch July 1, 2019 08:18
winem added a commit to nzlosh/st2 that referenced this pull request Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants