qrcode

class platypush.message.response.qrcode.QrcodeDecodedResponse(results: List[pyzbar.pyzbar.Decoded], image_file: Optional[str] = None, *args, **kwargs)[source]
__init__(results: List[pyzbar.pyzbar.Decoded], image_file: Optional[str] = None, *args, **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.qrcode.QrcodeGeneratedResponse(content: str, format: str, data: Optional[str] = None, image_file: Optional[str] = None, *args, **kwargs)[source]
__init__(content: str, format: str, data: Optional[str] = None, image_file: Optional[str] = None, *args, **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.qrcode.QrcodeResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.qrcode.RectModel(rect: pyzbar.locations.Rect)[source]
__init__(rect: pyzbar.locations.Rect)[source]
class platypush.message.response.qrcode.ResultModel(result: pyzbar.pyzbar.Decoded, *args, **kwargs)[source]
__init__(result: pyzbar.pyzbar.Decoded, *args, **kwargs)[source]