stats: Avoid referencing remote tables outside conditional.

This commit is contained in:
Tim Abbott 2021-08-03 11:15:39 -07:00
parent 6cbfec89bc
commit 65557c458d
1 changed files with 2 additions and 2 deletions

View File

@ -220,9 +220,9 @@ def get_chart_data(
server: Optional["RemoteZulipServer"] = None,
) -> HttpResponse:
TableType = Union[
Type[RemoteInstallationCount],
Type["RemoteInstallationCount"],
Type[InstallationCount],
Type[RemoteRealmCount],
Type["RemoteRealmCount"],
Type[RealmCount],
]
if for_installation: