From 92a84117b4d862c2a8c9f24b7fbc98e1e9e52c8e Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 1 Oct 2019 20:29:02 +0000 Subject: [PATCH] Added a type hint stub file for ietf/api/__init__.py, to capture variables created during module initialization. - Legacy-Id: 16804 --- ietf/api/__init__.pyi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ietf/api/__init__.pyi diff --git a/ietf/api/__init__.pyi b/ietf/api/__init__.pyi new file mode 100644 index 000000000..63d9bc513 --- /dev/null +++ b/ietf/api/__init__.pyi @@ -0,0 +1,33 @@ +# -*- python -*- + +from typing import Any, List +import tastypie + +community = ... # type: Any +dbtemplate = ... # type: Any +doc = ... # type: Any +group = ... # type: Any +iesg = ... # type: Any +ipr = ... # type: Any +liaisons = ... # type: Any +mailinglists = ... # type: Any +mailtrigger = ... # type: Any +meeting = ... # type: Any +message = ... # type: Any +name = ... # type: Any +nomcom = ... # type: Any +person = ... # type: Any +redirects = ... # type: Any +review = ... # type: Any +stats = ... # type: Any +submit = ... # type: Any +utils = ... # type: Any + +_api_list = ... # type: List + +class ModelResource(tastypie.resources.ModelResource): ... +class Serializer(): ... +class ToOneField(tastypie.fields.ToOneField): ... +class TimedeltaField(tastypie.fields.ApiField): ... + +def autodiscover() -> None: ...