Remove stub files
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
from typing import Optional
|
||||
|
||||
from apns2.client import NotificationPriority
|
||||
from apns2.payload import Payload
|
||||
|
||||
|
||||
class APNsClient(object):
|
||||
def __init__(self,
|
||||
cert_file: str,
|
||||
use_sandbox: bool = False,
|
||||
use_alternative_port: bool = False) -> None: ...
|
||||
|
||||
def send_notification(self,
|
||||
token_hex: str,
|
||||
notification: Payload,
|
||||
priority: NotificationPriority = NotificationPriority.Immediate,
|
||||
topic: Optional[str] = None,
|
||||
expiration: Optional[int] = None) -> None: ...
|
||||
@@ -1 +0,0 @@
|
||||
def exception_class_for_reason(reason: str) -> type: ...
|
||||
@@ -1,26 +0,0 @@
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
|
||||
class PayloadAlert(object):
|
||||
def __init__(self,
|
||||
title: Optional[str] = None,
|
||||
title_localized_key: Optional[str] = None,
|
||||
title_localized_args: Optional[List[str]] = None,
|
||||
body: Optional[str] = None,
|
||||
body_localized_key: Optional[str] = None,
|
||||
body_localized_args: Optional[List[str]] = None,
|
||||
action_localized_key: Optional[str] = None,
|
||||
launch_image: Optional[str] = None
|
||||
) -> None: ...
|
||||
|
||||
def dict(self) -> Dict[str, Any]: ...
|
||||
|
||||
class Payload(object):
|
||||
def __init__(self,
|
||||
alert: Union[PayloadAlert, str, None] = None,
|
||||
badge: Optional[int] = None,
|
||||
sound: Optional[str] = None,
|
||||
content_available: Optional[bool] = None,
|
||||
category: Optional[str] = None,
|
||||
custom: Optional[Dict[str, Any]] = None) -> None: ...
|
||||
|
||||
def dict(self) -> Dict[str, Any]: ...
|
||||
Reference in New Issue
Block a user