Skip to content

PlaceReplyMixin

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object

Subclasses

Class Module Description
PlaceReply prettyqt.location.placereply
PlaceSearchReply prettyqt.location.placesearchreply
PlaceContentReply prettyqt.location.placecontentreply
PlaceDetailsReply prettyqt.location.placedetailsreply
PlaceMatchReply prettyqt.location.placematchreply
PlaceIdReply prettyqt.location.placeidreply

⋔ Inheritance diagram

graph TD
  1473573486352["location.PlaceReplyMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473299815024 --> 1473573486352
  140713234304496 --> 1473299815024

🛈 DocStrings

Bases: ObjectMixin

Source code in prettyqt\location\placereply.py
class PlaceReplyMixin(core.ObjectMixin):
    def get_error(self) -> ErrorStr:
        """Return error type.

        Returns:
            Error type
        """
        return ERROR.inverse[self.error()]

    def get_type(self) -> TypeStr:
        """Return type.

        Returns:
            Type
        """
        return TYPE.inverse[self.type()]

get_error() -> ErrorStr

Return error type.

Source code in prettyqt\location\placereply.py
def get_error(self) -> ErrorStr:
    """Return error type.

    Returns:
        Error type
    """
    return ERROR.inverse[self.error()]

get_type() -> TypeStr

Return type.

Source code in prettyqt\location\placereply.py
def get_type(self) -> TypeStr:
    """Return type.

    Returns:
        Type
    """
    return TYPE.inverse[self.type()]