This repository has been archived by the owner on Feb 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
models: to_json* now can expose internal attributes
to_json/to_json_safe will replace Cluster.to_json_with_hosts and allow any model to expose internal attributes. Do: Cluster.to_json(expose=['hosts']) Cluster.to_json_safe(expose=['hosts']) Instead of: Cluster.to_json_with_hosts() Cluster.to_json_with_hosts(secure=True)
- Loading branch information
Showing
2 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters