Skip to main content

Module clients.engine_id.generator

Functions

generate_engine_id_candidate

def generate_engine_id_candidate(display_name: str, engine_type: str, attempt: int) ‑> str

sanitize_display_name

def sanitize_display_name(display_name: str) ‑> str

Function sanitizes display name of an engine to be a valid engine id string.

Args
display_name : str
Display name of an engine.
Returns
str
Sanitized display name of an engine.

Feedback