This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8523
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 017711e505ae142050ec76d3b196b8eb0cb487a4
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
         """

Reply via email to