def rename_field(
    name: str,
    new_name: str,
    *,
    project: Optional[str] = None,
    context: Optional[str] = None,
    api_key: Optional[str] = None,
):

source code

Rename a field in a project.

Arguments:

  • name - The name of the field to rename.
  • new_name - The new name for the field.
  • project - Name of the project to rename the field in.
  • context - The context to rename the field in.
  • api_key - If specified, unify API key to be used. Defaults to the value in the