Remove stub files

This commit is contained in:
Sergey Petrov
2017-01-09 21:32:58 +03:00
parent d3a841265e
commit 1262d6c2bd
3 changed files with 0 additions and 45 deletions
-18
View File
@@ -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
View File
@@ -1 +0,0 @@
def exception_class_for_reason(reason: str) -> type: ...
-26
View File
@@ -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]: ...