Skip to content

to_camelcase

faststream.asyncapi.utils.to_camelcase #

to_camelcase(*names)
Source code in faststream/asyncapi/utils.py
def to_camelcase(*names: str) -> str:
    return " ".join(names).replace("_", " ").title().replace(" ", "")