Determine if payload is streaming (a blob or string).
(self, payload, shape_members)
| 862 | return False |
| 863 | |
| 864 | def _has_streaming_payload(self, payload, shape_members): |
| 865 | """Determine if payload is streaming (a blob or string).""" |
| 866 | return payload is not None and shape_members[payload].type_name in [ |
| 867 | 'blob', |
| 868 | 'string', |
| 869 | ] |
| 870 | |
| 871 | def _encode_payload(self, body): |
| 872 | if isinstance(body, str): |
no outgoing calls
no test coverage detected