Skip to content

Commit 92a8411

Browse files
committed
Added a type hint stub file for ietf/api/__init__.py, to capture variables created during module initialization.
- Legacy-Id: 16804
1 parent 445f2cf commit 92a8411

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

ietf/api/__init__.pyi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# -*- python -*-
2+
3+
from typing import Any, List
4+
import tastypie
5+
6+
community = ... # type: Any
7+
dbtemplate = ... # type: Any
8+
doc = ... # type: Any
9+
group = ... # type: Any
10+
iesg = ... # type: Any
11+
ipr = ... # type: Any
12+
liaisons = ... # type: Any
13+
mailinglists = ... # type: Any
14+
mailtrigger = ... # type: Any
15+
meeting = ... # type: Any
16+
message = ... # type: Any
17+
name = ... # type: Any
18+
nomcom = ... # type: Any
19+
person = ... # type: Any
20+
redirects = ... # type: Any
21+
review = ... # type: Any
22+
stats = ... # type: Any
23+
submit = ... # type: Any
24+
utils = ... # type: Any
25+
26+
_api_list = ... # type: List
27+
28+
class ModelResource(tastypie.resources.ModelResource): ...
29+
class Serializer(): ...
30+
class ToOneField(tastypie.fields.ToOneField): ...
31+
class TimedeltaField(tastypie.fields.ApiField): ...
32+
33+
def autodiscover() -> None: ...

0 commit comments

Comments
 (0)