ironic.common.rpc module¶
- class ironic.common.rpc.RequestContextSerializer(base)[source]¶
Bases:
Serializer
- deserialize_context(context)[source]¶
Deserialize a dictionary into a request context.
- Parameters:
ctxt – Request context dictionary
- Returns:
Deserialized form of entity
- deserialize_entity(context, entity)[source]¶
Deserialize something from primitive form.
- Parameters:
ctxt – Request context, in deserialized form
entity – Primitive to be deserialized
- Returns:
Deserialized form of entity