Utility methods for working with WSGI servers redux
Bases: tacker.wsgi.Request
API entity resource.
Represents an API entity resource and the associated serialization and deserialization logic
Translates the object to the given locale.
If the object is an exception its translatable elements are translated in place, if the object is a translatable string it is translated and returned. Otherwise, the object is returned as-is.
Parameters: |
|
---|---|
Returns: | the translated object, or the object as-is if it was not translated |