Skip to content

PythonName

The name of the corresponding API element in Python. By default, this is the name of the declaration in the stubs.

Parameters:

Name Type Description Default
name String - -

Targets:

  • Attribute
  • Class
  • Enum
  • EnumVariant
  • Function
  • Parameter
  • Pipeline
  • Segment
Stub code in codeGeneration.sdsstub
annotation PythonName(
    name: String
)