def METHOD_NAME(*, db_session, organization_in: OrganizationCreate) -> Organization:
    """Creates an organization."""
    organization = Organization(
        **organization_in.dict(exclude={"banner_color"}),
    )
    if organization_in.banner_color:
        organization.banner_color = organization_in.banner_color.as_hex()
    # we let the new schema session create the organization
    organization = init_schema(engine=engine, organization=organization)
    return organization