@staticmethod
PYL-R0201240 },
241 }
242
243 def to_debug_report(self):244 """Gets the essential information for debugging.
245
246 :return: The report for debugging.
461 " `POST`, `PATCH`, `PUT` or `DELETE`."
462 )
463
464 def parameters_to_tuples(self, params, collection_formats):465 """Get parameters as list of tuples, formatting collections.
466
467 :param params: Parameters as dict or list of two-tuples
490 new_params.append((k, v))
491 return new_params
492
493 def prepare_post_parameters(self, post_params=None, files=None):494 """Builds form parameters.
495
496 :param post_params: Normal form parameters.
532 else:
533 return ", ".join(accepts)
534
535 def select_header_content_type(self, content_types):536 """Returns `Content-Type` based on an array of content_types provided.
537
538 :param content_types: List of content-types.
593
594 return path
595
596 def __deserialize_primitive(self, data, klass):597 """Deserializes string to primitive type.
598
599 :param data: str.
The method doesn't use its bound instance. Decorate this method with @staticmethod
decorator, so that Python does not have to instantiate a bound method for every instance of this class thereby saving memory and computation. Read more about staticmethods here.