ExtensionHookMeta Class
The metadata of a single life-cycle hook. The ext_name has the class name of an extension class. The ext_impl has the callable function that is used by the worker.
Create new instance of ExtensionHookMeta(ext_name, ext_impl)
- Inheritance
-
builtins.tupleExtensionHookMeta
Constructor
ExtensionHookMeta(ext_name: str, ext_impl: Callable)
Parameters
Name | Description |
---|---|
_cls
Required
|
|
ext_name
Required
|
|
ext_impl
Required
|
|
Methods
count |
Return number of occurrences of value. |
index |
Return first index of value. Raises ValueError if the value is not present. |
count
Return number of occurrences of value.
count(value, /)
Positional-Only Parameters
Name | Description |
---|---|
value
Required
|
|
index
Return first index of value.
Raises ValueError if the value is not present.
index(value, start=0, stop=9223372036854775807, /)
Positional-Only Parameters
Name | Description |
---|---|
value
Required
|
|
start
|
Default value: 0
|
stop
|
Default value: 9223372036854775807
|
Attributes
ext_impl
Alias for field number 1
ext_impl: Callable
ext_name
Alias for field number 0
ext_name: str
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for Python