Skip to content

licenses

Accessed as client.misc.licenses; the async client mirrors it.

MiscLicenses

The misc.licenses namespace.

get

get(name: str) -> LicenseTemplateInfo

Returns information about a license template.

Parameters:

Name Type Description Default
name str

name of the license

required

Returns:

Type Description
LicenseTemplateInfo

LicenseTemplateInfo.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: getLicenseTemplateInfo

list

list() -> list[LicensesTemplateListEntry]

Returns a list of all license templates.

Returns:

Type Description
list[LicensesTemplateListEntry]

LicenseTemplateList.

Operation ID: listLicenseTemplates

AsyncMiscLicenses

The misc.licenses namespace.

get

get(name: str) -> LicenseTemplateInfo

Returns information about a license template.

Parameters:

Name Type Description Default
name str

name of the license

required

Returns:

Type Description
LicenseTemplateInfo

LicenseTemplateInfo.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: getLicenseTemplateInfo

list

list() -> list[LicensesTemplateListEntry]

Returns a list of all license templates.

Returns:

Type Description
list[LicensesTemplateListEntry]

LicenseTemplateList.

Operation ID: listLicenseTemplates