This is an automated email from the ASF dual-hosted git repository. gcruz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 2a8bc148f3c92067b884d8f13539443fff1bdcdb Author: Dave Brondsema <[email protected]> AuthorDate: Wed Oct 18 18:25:06 2023 -0400 [#8523] random type hint --- Allura/allura/model/project.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py index 63b7e413a..33a675e8a 100644 --- a/Allura/allura/model/project.py +++ b/Allura/allura/model/project.py @@ -71,6 +71,7 @@ import six if typing.TYPE_CHECKING: from ming.odm.mapper import Query from allura.model import AppConfig + from allura.app import Application log = logging.getLogger(__name__) @@ -1440,7 +1441,7 @@ class AppConfig(MappedClass, ActivityObject): '''ACL processing should terminate at the AppConfig''' return None - def load(self): + def load(self) -> typing.Type[Application]: """ :returns: the related :class:`Application <allura.app.Application>` class """
