Skip to content

Commit

Permalink
Added type hinting stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaspuff committed Jun 12, 2018
1 parent b2770b6 commit 128f685
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tomodachi/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from tomodachi.__version__ import __version__ as __version__, __version_info__ as __version_info__
from tomodachi.transport.amqp import amqp as amqp, amqp_publish as amqp_publish
from tomodachi.transport.aws_sns_sqs import aws_sns_sqs as aws_sns_sqs, aws_sns_sqs_publish as aws_sns_sqs_publish
from tomodachi.transport.http import HttpException as HttpException, Response as HttpResponse, http as http, http_error as http_error, http_static as http_static, websocket as websocket
from tomodachi.transport.schedule import daily as daily, heartbeat as heartbeat, hourly as hourly, minutely as minutely, monthly as monthly, schedule as schedule
from typing import Any

CLASS_ATTRIBUTE: str = ...

def service(cls: Any) -> Any: ...

class Service:
TOMODACHI_SERVICE_CLASS: bool = ...
log: Any = ...
log_setup: Any = ...
1 change: 1 addition & 0 deletions tomodachi/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PEP-561 marker.

0 comments on commit 128f685

Please sign in to comment.