Fix annotations clashing with Stream model fields.

This commit is contained in:
Eklavya Sharma
2016-06-13 13:44:33 +05:30
parent 1ec7e124c7
commit 6f5ed6e7c9
4 changed files with 6 additions and 6 deletions

View File

@@ -379,7 +379,7 @@ class AuthedTestCase(TestCase):
# Subscribe to a stream directly
def subscribe_to_stream(self, email, stream_name, realm=None):
# type: (str, str, Optional[Realm]) -> None
# type: (text_type, text_type, Optional[Realm]) -> None
if realm is None:
realm = get_realm(resolve_email_to_domain(email))
stream = get_stream(stream_name, realm)