models: Extract zerver.models.streams.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-14 18:57:04 -08:00
committed by Tim Abbott
parent 5391ec99d9
commit 4aa2d76bea
60 changed files with 474 additions and 483 deletions

View File

@@ -12,7 +12,8 @@ from sqlalchemy.types import Integer
from zerver.lib.timestamp import datetime_to_timestamp
from zerver.lib.topic import topic_match_sa
from zerver.lib.types import UserTopicDict
from zerver.models import UserProfile, UserTopic, get_stream
from zerver.models import UserProfile, UserTopic
from zerver.models.streams import get_stream
def get_user_topics(