mirror of https://github.com/zulip/zulip.git
mypy: Change realm.subdomain to no longer be Optional.
It hasn't been optional since we removed REALMS_HAVE_SUBDOMAINS.
This commit is contained in:
parent
1ab2ca5986
commit
b850875840
|
@ -258,7 +258,7 @@ class Realm(ModelReprMixin, models.Model):
|
|||
|
||||
@property
|
||||
def subdomain(self):
|
||||
# type: () -> Optional[Text]
|
||||
# type: () -> Text
|
||||
return self.string_id
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue