Deprecate event namespace config knob (#2218)

This commit is contained in:
Elijah Ahianyo 2023-11-26 20:45:50 +00:00 committed by GitHub
parent d61b83fde7
commit 7f75571e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,6 +286,12 @@ class Config(Base):
The namespace for websocket.
"""
if self.event_namespace:
console.deprecate(
feature_name="Passing event_namespace in the config",
reason="",
deprecation_version="0.3.5",
removal_version="0.3.10",
)
return f'/{self.event_namespace.strip("/")}'
event_url = constants.Endpoint.EVENT.get_url()