mirror of https://github.com/zulip/zulip.git
openapi: Remove unused get_event_type function.
It’s unused since commit 8108acbdfd
(#16000).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
68bc8b52c3
commit
0eff862459
|
@ -347,10 +347,6 @@ def find_openapi_endpoint(path: str) -> Optional[str]:
|
|||
return None
|
||||
|
||||
|
||||
def get_event_type(event: Dict[str, Any]) -> str:
|
||||
return event["type"] + ":" + event.get("op", "")
|
||||
|
||||
|
||||
def fix_events(content: Dict[str, Any]) -> None:
|
||||
"""Remove undocumented events from events array. This is a makeshift
|
||||
function so that further documentation of `/events` can happen with
|
||||
|
|
Loading…
Reference in New Issue