id int64 0 328k | repository_name stringlengths 7 58 | file_path stringlengths 9 302 | class_name stringlengths 5 256 | human_written_code stringlengths 16 2.16M | class_skeleton stringlengths 18 1.49M ⌀ | total_program_units int64 1 1.76k | total_doc_str int64 0 771 | AvgCountLine float64 0 7.89k | AvgCountLineBlank float64 0 297 | AvgCountLineCode float64 0 7.89k | AvgCountLineComment float64 0 7.89k | AvgCyclomatic float64 0 130 | CommentToCodeRatio float64 0 168 | CountClassBase float64 0 40 | CountClassCoupled float64 0 583 | CountClassCoupledModified float64 0 575 | CountClassDerived float64 0 5.35k | CountDeclInstanceMethod float64 0 529 | CountDeclInstanceVariable float64 0 296 | CountDeclMethod float64 0 599 | CountDeclMethodAll float64 0 1.12k | CountLine float64 1 40.4k | CountLineBlank float64 0 8.16k | CountLineCode float64 1 25.7k | CountLineCodeDecl float64 1 8.15k | CountLineCodeExe float64 0 24.2k | CountLineComment float64 0 16.5k | CountStmt float64 1 9.71k | CountStmtDecl float64 1 8.15k | CountStmtExe float64 0 9.69k | MaxCyclomatic float64 0 759 | MaxInheritanceTree float64 0 16 | MaxNesting float64 0 34 | SumCyclomatic float64 0 2.9k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15,600 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.CommandError | class CommandError(Exception):
def __init__(self, command_result: 'CommandResult'):
self.name = 'CommandError'
super().__init__(str(command_result)) | class CommandError(Exception):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 2 | 0 | 6 | 1 | 1 | 1 | 11 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 3 | 0 | 1 |
15,601 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.CompilationError | class CompilationError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'CompilationError' | class CompilationError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,602 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.ConcurrentUpdateError | class ConcurrentUpdateError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'ConcurrentUpdateError' | class ConcurrentUpdateError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,603 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.InlineSourceRuntimeError | class InlineSourceRuntimeError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'InlineSourceRuntimeError' | class InlineSourceRuntimeError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,604 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.InvalidVersionError | class InvalidVersionError(Exception):
pass | class InvalidVersionError(Exception):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,605 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.RuntimeError | class RuntimeError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'RuntimeError' | class RuntimeError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,606 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.StackAlreadyExistsError | class StackAlreadyExistsError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'StackAlreadyExistsError' | class StackAlreadyExistsError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,607 | pulumi/pulumi | sdk/python/lib/pulumi/automation/errors.py | pulumi.automation.errors.StackNotFoundError | class StackNotFoundError(CommandError):
def __init__(self, command_result: 'CommandResult'):
super().__init__(command_result)
self.name = 'StackNotFoundError' | class StackNotFoundError(CommandError):
def __init__(self, command_result: 'CommandResult'):
pass | 2 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 12 | 4 | 0 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,608 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.BaseEvent | from ._representable import _Representable
class BaseEvent(_Representable):
pass |
class BaseEvent(_Representable):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 14 | 0 | 0 | 0 | 1 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 1 | 0 | 0 |
15,609 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.CancelEvent | class CancelEvent(BaseEvent):
"""
CancelEvent is emitted when the user initiates a cancellation of the update in progress, or
the update successfully completes.
"""
def __init__(self) -> None:
pass
@classmethod
def from_json(cls) -> 'CancelEvent':
return cls() | class CancelEvent(BaseEvent):
'''
CancelEvent is emitted when the user initiates a cancellation of the update in progress, or
the update successfully completes.
'''
def __init__(self) -> None:
pass
@classmethod
def from_json(cls) -> 'CancelEvent':
pass | 4 | 1 | 2 | 0 | 2 | 0 | 1 | 0.67 | 1 | 0 | 0 | 0 | 1 | 0 | 2 | 3 | 12 | 2 | 6 | 4 | 2 | 4 | 5 | 3 | 2 | 1 | 2 | 0 | 2 |
15,610 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.DiagnosticEvent | from typing import Optional, Any
class DiagnosticEvent(BaseEvent):
"""
DiagnosticEvent is emitted whenever a diagnostic message is provided, for example errors from
a cloud resource provider while trying to create or update a resource.
Attributes
----------
message: str
The message
... |
class DiagnosticEvent(BaseEvent):
'''
DiagnosticEvent is emitted whenever a diagnostic message is provided, for example errors from
a cloud resource provider while trying to create or update a resource.
Attributes
----------
message: str
The message
color: str
The color to r... | 4 | 1 | 14 | 0 | 14 | 0 | 1 | 0.69 | 1 | 4 | 0 | 0 | 1 | 7 | 2 | 3 | 52 | 3 | 29 | 20 | 16 | 20 | 11 | 10 | 8 | 1 | 2 | 0 | 2 |
15,611 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.DiffKind | from enum import Enum
class DiffKind(str, Enum):
"""
DiffKind enumerates the possible kinds of diffs.
Values
------
* ADD: indicates that the property was added.
* ADD_REPLACE: indicates that the property was added and requires that the resource be replaced.
* DELETE: delete indicates that... |
class DiffKind(str, Enum):
'''
DiffKind enumerates the possible kinds of diffs.
Values
------
* ADD: indicates that the property was added.
* ADD_REPLACE: indicates that the property was added and requires that the resource be replaced.
* DELETE: delete indicates that the property was delet... | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1.57 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 115 | 20 | 2 | 7 | 7 | 6 | 11 | 7 | 7 | 6 | 0 | 4 | 0 | 0 |
15,612 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.EngineEvent | from typing import Optional, Any
class EngineEvent(BaseEvent):
"""
EngineEvent describes a Pulumi engine event, such as a change to a resource or diagnostic
message. EngineEvent is a discriminated union of all possible event types, and exactly one
field will be non-nil.
:param sequence: Sequence i... |
class EngineEvent(BaseEvent):
'''
EngineEvent describes a Pulumi engine event, such as a change to a resource or diagnostic
message. EngineEvent is a discriminated union of all possible event types, and exactly one
field will be non-nil.
:param sequence: Sequence is a unique, and monotonically incr... | 4 | 1 | 39 | 1 | 39 | 0 | 6 | 0.2 | 1 | 12 | 10 | 0 | 1 | 12 | 2 | 3 | 99 | 4 | 79 | 39 | 61 | 16 | 25 | 24 | 22 | 11 | 2 | 0 | 12 |
15,613 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.OpType | from enum import Enum
class OpType(str, Enum):
"""
The granular CRUD operation performed on a particular resource during an update.
"""
SAME = 'same'
CREATE = 'create'
UPDATE = 'update'
DELETE = 'delete'
REPLACE = 'replace'
CREATE_REPLACEMENT = 'create-replacement'
DELETE_REPLAC... |
class OpType(str, Enum):
'''
The granular CRUD operation performed on a particular resource during an update.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.19 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 115 | 20 | 1 | 16 | 16 | 15 | 3 | 16 | 16 | 15 | 0 | 4 | 0 | 0 |
15,614 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.PolicyEvent | from typing import Optional, Any
class PolicyEvent(BaseEvent):
"""
PolicyEvent is emitted whenever there is a Policy violation.
Attributes
----------
message: str
The message
color: str
The color to render the message
policy_name: str
The name of the policy
poli... |
class PolicyEvent(BaseEvent):
'''
PolicyEvent is emitted whenever there is a Policy violation.
Attributes
----------
message: str
The message
color: str
The color to render the message
policy_name: str
The name of the policy
policy_pack_name: str
The name... | 4 | 1 | 15 | 0 | 15 | 0 | 1 | 0.66 | 1 | 2 | 0 | 0 | 1 | 8 | 2 | 3 | 56 | 3 | 32 | 22 | 18 | 21 | 12 | 11 | 9 | 1 | 2 | 0 | 2 |
15,615 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.PreludeEvent | from collections.abc import Mapping, MutableMapping
class PreludeEvent(BaseEvent):
"""
PreludeEvent is emitted at the start of an update.
Attributes
----------
config: Mapping[str, str]
config contains the keys and values for the update.
Encrypted configuration values may be blinde... |
class PreludeEvent(BaseEvent):
'''
PreludeEvent is emitted at the start of an update.
Attributes
----------
config: Mapping[str, str]
config contains the keys and values for the update.
Encrypted configuration values may be blinded.
'''
def __init__(self, config: Mapping[st... | 4 | 1 | 2 | 0 | 2 | 0 | 1 | 1.33 | 1 | 2 | 0 | 0 | 1 | 1 | 2 | 3 | 17 | 3 | 6 | 5 | 2 | 8 | 5 | 4 | 2 | 1 | 2 | 0 | 2 |
15,616 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.PropertyDiff | class PropertyDiff(BaseEvent):
"""
PropertyDiff describes the difference between a single property's old and new values.
Attributes
----------
diff_kind: DiffKind
diff_kind is the kind of difference.
input_diff: bool
input_diff is true if this is a difference between old and new... | class PropertyDiff(BaseEvent):
'''
PropertyDiff describes the difference between a single property's old and new values.
Attributes
----------
diff_kind: DiffKind
diff_kind is the kind of difference.
input_diff: bool
input_diff is true if this is a difference between old and new ... | 4 | 1 | 4 | 0 | 4 | 0 | 1 | 0.9 | 1 | 3 | 1 | 0 | 1 | 2 | 2 | 3 | 22 | 3 | 10 | 6 | 6 | 9 | 6 | 5 | 3 | 1 | 2 | 0 | 2 |
15,617 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.ResOpFailedEvent | class ResOpFailedEvent(BaseEvent):
"""
ResOpFailedEvent is emitted when a resource operation fails. Typically a DiagnosticEvent is
emitted before this event, indicating the root cause of the error.
"""
def __init__(self, metadata: StepEventMetadata, status: int, steps: int):
self.metadata =... | class ResOpFailedEvent(BaseEvent):
'''
ResOpFailedEvent is emitted when a resource operation fails. Typically a DiagnosticEvent is
emitted before this event, indicating the root cause of the error.
'''
def __init__(self, metadata: StepEventMetadata, status: int, steps: int):
pass
@class... | 4 | 1 | 6 | 0 | 6 | 0 | 1 | 0.31 | 1 | 3 | 1 | 0 | 1 | 3 | 2 | 3 | 19 | 2 | 13 | 8 | 9 | 4 | 8 | 7 | 5 | 1 | 2 | 0 | 2 |
15,618 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.ResOutputsEvent | from typing import Optional, Any
class ResOutputsEvent(BaseEvent):
"""
ResOutputsEvent is emitted when a resource is finished being provisioned.
"""
def __init__(self, metadata: StepEventMetadata, planning: Optional[bool]=None):
self.metadata = metadata
self.planning = planning
@c... |
class ResOutputsEvent(BaseEvent):
'''
ResOutputsEvent is emitted when a resource is finished being provisioned.
'''
def __init__(self, metadata: StepEventMetadata, planning: Optional[bool]=None):
pass
@classmethod
def from_json(cls, data: dict) -> 'ResOutputsEvent':
pass | 4 | 1 | 5 | 0 | 5 | 0 | 1 | 0.27 | 1 | 3 | 1 | 0 | 1 | 2 | 2 | 3 | 16 | 2 | 11 | 7 | 7 | 3 | 7 | 6 | 4 | 1 | 2 | 0 | 2 |
15,619 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.ResourcePreEvent | from typing import Optional, Any
class ResourcePreEvent(BaseEvent):
"""
ResourcePreEvent is emitted before a resource is modified.
"""
def __init__(self, metadata: StepEventMetadata, planning: Optional[bool]=None):
self.metadata = metadata
self.planning = planning
@classmethod
... |
class ResourcePreEvent(BaseEvent):
'''
ResourcePreEvent is emitted before a resource is modified.
'''
def __init__(self, metadata: StepEventMetadata, planning: Optional[bool]=None):
pass
@classmethod
def from_json(cls, data: dict) -> 'ResourcePreEvent':
pass | 4 | 1 | 5 | 0 | 5 | 0 | 1 | 0.27 | 1 | 3 | 1 | 0 | 1 | 2 | 2 | 3 | 16 | 2 | 11 | 7 | 7 | 3 | 7 | 6 | 4 | 1 | 2 | 0 | 2 |
15,620 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.StartDebuggingEvent | from typing import Optional, Any
from collections.abc import Mapping, MutableMapping
class StartDebuggingEvent(BaseEvent):
"""
StartDebuggingEvent is emitted when a debugger has been started and is waiting for the user
to attach to it using the DAP protocol.
"""
def __init__(self, config: Mapping[... |
class StartDebuggingEvent(BaseEvent):
'''
StartDebuggingEvent is emitted when a debugger has been started and is waiting for the user
to attach to it using the DAP protocol.
'''
def __init__(self, config: Mapping[str, Any]):
pass
@classmethod
def from_json(cls, data: dict) -> 'Star... | 4 | 1 | 2 | 0 | 2 | 0 | 1 | 0.67 | 1 | 3 | 0 | 0 | 1 | 1 | 2 | 3 | 12 | 2 | 6 | 5 | 2 | 4 | 5 | 4 | 2 | 1 | 2 | 0 | 2 |
15,621 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.StdoutEngineEvent | class StdoutEngineEvent(BaseEvent):
"""
StdoutEngineEvent is emitted whenever a generic message is written, for example warnings
from the pulumi CLI itself. Less common than DiagnosticEvent.
Attributes
----------
message: str
The message
color: str
The color to render the me... | class StdoutEngineEvent(BaseEvent):
'''
StdoutEngineEvent is emitted whenever a generic message is written, for example warnings
from the pulumi CLI itself. Less common than DiagnosticEvent.
Attributes
----------
message: str
The message
color: str
The color to render the mes... | 4 | 1 | 3 | 0 | 3 | 0 | 1 | 1.43 | 1 | 2 | 0 | 0 | 1 | 2 | 2 | 3 | 20 | 3 | 7 | 6 | 3 | 10 | 6 | 5 | 3 | 1 | 2 | 0 | 2 |
15,622 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.StepEventMetadata | from collections.abc import Mapping, MutableMapping
from typing import Optional, Any
class StepEventMetadata(BaseEvent):
"""
StepEventMetadata describes a "step" within the Pulumi engine, which is any concrete action
to migrate a set of cloud resources from one state to another.
Attributes
-------... |
class StepEventMetadata(BaseEvent):
'''
StepEventMetadata describes a "step" within the Pulumi engine, which is any concrete action
to migrate a set of cloud resources from one state to another.
Attributes
----------
op: OpType
The operation being performed.
urn: str
The urn... | 4 | 1 | 20 | 1 | 19 | 0 | 2 | 0.65 | 1 | 6 | 3 | 0 | 1 | 10 | 2 | 3 | 70 | 4 | 40 | 28 | 24 | 26 | 16 | 15 | 13 | 3 | 2 | 0 | 4 |
15,623 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.StepEventStateMetadata | from collections.abc import Mapping, MutableMapping
from typing import Optional, Any
class StepEventStateMetadata(BaseEvent):
"""
StepEventStateMetadata is the more detailed state information for a resource as it relates to
a step(s) being performed.
Attributes
----------
type: str
The... |
class StepEventStateMetadata(BaseEvent):
'''
StepEventStateMetadata is the more detailed state information for a resource as it relates to
a step(s) being performed.
Attributes
----------
type: str
The type of the resource
urn: str
The URN of the resource
id: str
... | 4 | 1 | 21 | 0 | 21 | 0 | 1 | 0.7 | 1 | 4 | 0 | 0 | 1 | 12 | 2 | 3 | 78 | 3 | 44 | 30 | 26 | 31 | 16 | 15 | 13 | 1 | 2 | 0 | 2 |
15,624 | pulumi/pulumi | sdk/python/lib/pulumi/automation/events.py | pulumi.automation.events.SummaryEvent | from collections.abc import Mapping, MutableMapping
class SummaryEvent(BaseEvent):
"""
SummaryEvent is emitted at the end of an update, with a summary of the changes made.
Attributes
----------
maybe_corrupt: bool
maybeCorrupt is set if one or more of the resources is in an invalid state.
... |
class SummaryEvent(BaseEvent):
'''
SummaryEvent is emitted at the end of an update, with a summary of the changes made.
Attributes
----------
maybe_corrupt: bool
maybeCorrupt is set if one or more of the resources is in an invalid state.
duration_seconds: int
duration is the num... | 4 | 1 | 9 | 0 | 9 | 0 | 1 | 0.9 | 1 | 4 | 0 | 0 | 1 | 4 | 2 | 3 | 41 | 3 | 20 | 14 | 10 | 18 | 8 | 7 | 5 | 1 | 2 | 0 | 2 |
15,625 | pulumi/pulumi | sdk/python/lib/pulumi/config.py | pulumi.config.Config | from typing import Any, Callable, Optional, overload
import json
from .output import Output
from .runtime.config import get_config
from .metadata import get_project
class Config:
"""
Config is a bag of related configuration state. Each bag contains any number of configuration variables, indexed by
simple ... |
class Config:
'''
Config is a bag of related configuration state. Each bag contains any number of configuration variables, indexed by
simple keys, and each has a name that uniquely identifies it; two bags with different names do not share values for
variables that otherwise share the same key. For ex... | 93 | 23 | 8 | 0 | 4 | 3 | 2 | 0.75 | 0 | 10 | 3 | 0 | 62 | 0 | 62 | 62 | 543 | 52 | 281 | 198 | 141 | 210 | 196 | 88 | 133 | 4 | 0 | 1 | 93 |
15,626 | pulumi/pulumi | sdk/python/lib/pulumi/config.py | pulumi.config.ConfigMissingError | from . import errors
class ConfigMissingError(errors.RunError):
"""
Indicates a configuration value is missing.
"""
key: str
'\n The name of the missing configuration key.\n '
secret: bool
'\n If this is a secret configuration key.\n '
def __init__(self, key: str, secret: b... |
class ConfigMissingError(errors.RunError):
'''
Indicates a configuration value is missing.
'''
def __init__(self, key: str, secret: bool) -> None:
pass | 2 | 1 | 7 | 0 | 7 | 0 | 2 | 0.9 | 1 | 3 | 0 | 0 | 1 | 0 | 1 | 11 | 22 | 3 | 10 | 2 | 8 | 9 | 7 | 2 | 5 | 2 | 4 | 0 | 2 |
15,627 | pulumi/pulumi | sdk/python/lib/pulumi/config.py | pulumi.config.ConfigTypeError | from . import errors
class ConfigTypeError(errors.RunError):
"""
Indicates a configuration value is of the wrong type.
"""
key: str
'\n The name of the key whose value was ill-typed.\n '
value: str
'\n The ill-typed value.\n '
expect_type: str
'\n The expected type of... |
class ConfigTypeError(errors.RunError):
'''
Indicates a configuration value is of the wrong type.
'''
def __init__(self, key: str, value: str, expect_type: str) -> None:
pass | 2 | 1 | 7 | 0 | 7 | 0 | 1 | 1.09 | 1 | 2 | 0 | 0 | 1 | 0 | 1 | 11 | 27 | 4 | 11 | 2 | 9 | 12 | 9 | 2 | 7 | 1 | 4 | 0 | 1 |
15,628 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/__main__.py | pulumi.dynamic.__main__.DynamicResourceProviderServicer | from pulumi.runtime.proto import provider_pb2_grpc, ResourceProviderServicer
import asyncio
from typing import Any, Optional
import grpc
from google.protobuf import empty_pb2
from pulumi.runtime import configure, proto, rpc, Settings
class DynamicResourceProviderServicer(ResourceProviderServicer):
_config: dict[st... |
class DynamicResourceProviderServicer(ResourceProviderServicer):
def CheckConfig(self, request, context):
pass
def DiffConfig(self, request, context):
pass
def Invoke(self, request, context):
pass
def DiffConfig(self, request, context):
pass
def Update(self, req... | 15 | 0 | 10 | 1 | 8 | 0 | 2 | 0.03 | 1 | 1 | 0 | 0 | 14 | 0 | 14 | 35 | 149 | 26 | 120 | 60 | 105 | 3 | 108 | 60 | 93 | 6 | 2 | 2 | 22 |
15,629 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/config.py | pulumi.dynamic.config.Config | from typing import Any
class Config:
"""
Config is a bag of configuration values that can be passed to a provider's configure method.
Use the Config.get and Config.require methods to retrieve a configuration value by key.
"""
_props: dict[str, Any]
_project_name: str
def __init__(self, ra... |
class Config:
'''
Config is a bag of configuration values that can be passed to a provider's configure method.
Use the Config.get and Config.require methods to retrieve a configuration value by key.
'''
def __init__(self, raw_config: dict[str, Any], project_name: str) -> None:
pass
de... | 4 | 3 | 7 | 0 | 4 | 3 | 2 | 0.8 | 0 | 3 | 0 | 0 | 3 | 0 | 3 | 3 | 32 | 5 | 15 | 5 | 11 | 12 | 15 | 5 | 11 | 2 | 0 | 1 | 5 |
15,630 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.CheckFailure | class CheckFailure:
"""
CheckFailure represents a single failure in the results of a call to `ResourceProvider.check`
"""
property: str
'\n The property that failed validation.\n '
reason: str
'\n The reason that the property failed validation.\n '
def __init__(self, propert... | class CheckFailure:
'''
CheckFailure represents a single failure in the results of a call to `ResourceProvider.check`
'''
def __init__(self, property_: str, reason: str) -> None:
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.5 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 18 | 3 | 6 | 3 | 4 | 9 | 6 | 3 | 4 | 1 | 0 | 0 | 1 |
15,631 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.CheckResult | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class CheckResult:
"""
CheckResult represents the results of a call to `ResourceProvider.check`.
"""
inputs: dict[str, Any]
'\n The inputs to use, if any.\n '
failures: list['CheckFailure']
'\n Any valid... |
class CheckResult:
'''
CheckResult represents the results of a call to `ResourceProvider.check`.
'''
def __init__(self, inputs: dict[str, Any], failures: list['CheckFailure']) -> None:
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.5 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 18 | 3 | 6 | 2 | 4 | 9 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,632 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.ConfigureRequest | from .config import Config
class ConfigureRequest:
"""
ConfigureRequest is the shape of the configuration data passed to a
provider's configure method.
"""
config: Config
"\n The stack's configuration.\n "
def __init__(self, config: Config):
self.config = config |
class ConfigureRequest:
'''
ConfigureRequest is the shape of the configuration data passed to a
provider's configure method.
'''
def __init__(self, config: Config):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 1.75 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 13 | 2 | 4 | 2 | 2 | 7 | 4 | 2 | 2 | 1 | 0 | 0 | 1 |
15,633 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.CreateResult | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class CreateResult:
"""
CreateResult represents the results of a call to `ResourceProvider.create`.
"""
id: str
'\n The ID of the created resource.\n '
outs: Optional[dict[str, Any]]
'\n Any properties t... |
class CreateResult:
'''
CreateResult represents the results of a call to `ResourceProvider.create`.
'''
def __init__(self, id_: str, outs: Optional[dict[str, Any]]=None) -> None:
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.5 | 0 | 2 | 0 | 0 | 1 | 1 | 1 | 1 | 18 | 3 | 6 | 3 | 4 | 9 | 6 | 3 | 4 | 1 | 0 | 0 | 1 |
15,634 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.DiffResult | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class DiffResult:
"""
DiffResult represents the results of a call to `ResourceProvider.diff`.
"""
changes: Optional[bool]
'\n If true, this diff detected changes and suggests an update.\n '
replaces: Optional[l... |
class DiffResult:
'''
DiffResult represents the results of a call to `ResourceProvider.diff`.
'''
def __init__(self, changes: Optional[bool]=None, replaces: Optional[list[str]]=None, stables: Optional[list[str]]=None, delete_before_replace: Optional[bool]=None) -> None:
pass | 2 | 1 | 11 | 0 | 11 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 37 | 5 | 16 | 8 | 8 | 16 | 10 | 2 | 8 | 1 | 0 | 0 | 1 |
15,635 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.ReadResult | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class ReadResult:
"""
The ID of the resource ready back (or blank if missing).
"""
id: Optional[str]
'\n The ID of the resource ready back (or blank if missing).\n '
outs: Optional[dict[str, Any]]
'\n Th... |
class ReadResult:
'''
The ID of the resource ready back (or blank if missing).
'''
def __init__(self, id_: Optional[str]=None, outs: Optional[dict[str, Any]]=None) -> None:
pass | 2 | 1 | 7 | 0 | 7 | 0 | 1 | 0.9 | 0 | 2 | 0 | 0 | 1 | 1 | 1 | 1 | 22 | 3 | 10 | 7 | 4 | 9 | 6 | 3 | 4 | 1 | 0 | 0 | 1 |
15,636 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.Resource | import pulumi
from .. import CustomResource, ResourceOptions
from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
from ..runtime._serialization import _serialize
class Resource(CustomResource):
"""
Resource represents a Pulumi Resource that incorporates an inline implementation of the... |
class Resource(CustomResource):
'''
Resource represents a Pulumi Resource that incorporates an inline implementation of the Resource's CRUD operations.
'''
def __init_subclass__(cls, module: str='', name: str='Resource'):
pass
def __init__(self, provider: ResourceProvider, name: str, prop... | 3 | 2 | 22 | 3 | 12 | 7 | 3 | 0.62 | 1 | 8 | 3 | 19 | 2 | 0 | 2 | 10 | 51 | 9 | 26 | 11 | 17 | 16 | 16 | 5 | 13 | 3 | 2 | 1 | 5 |
15,637 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.ResourceProvider | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class ResourceProvider:
"""
ResourceProvider is a Dynamic Resource Provider which allows defining new kinds of resources
whose CRUD operations are implemented inside your Python program.
"""
serialize_as_secret_always: b... |
class ResourceProvider:
'''
ResourceProvider is a Dynamic Resource Provider which allows defining new kinds of resources
whose CRUD operations are implemented inside your Python program.
'''
def check(self, _olds: dict[str, Any], news: dict[str, Any]) -> CheckResult:
'''
Check vali... | 9 | 8 | 6 | 0 | 3 | 3 | 1 | 1.42 | 0 | 9 | 6 | 19 | 8 | 0 | 8 | 8 | 72 | 9 | 26 | 20 | 7 | 37 | 16 | 10 | 7 | 1 | 0 | 0 | 8 |
15,638 | pulumi/pulumi | sdk/python/lib/pulumi/dynamic/dynamic.py | pulumi.dynamic.dynamic.UpdateResult | from typing import TYPE_CHECKING, Any, ClassVar, Optional, cast, no_type_check
class UpdateResult:
"""
UpdateResult represents the results of a call to `ResourceProvider.update`.
"""
outs: Optional[dict[str, Any]]
'\n Any properties that were computed during updating.\n '
def __init__(se... |
class UpdateResult:
'''
UpdateResult represents the results of a call to `ResourceProvider.update`.
'''
def __init__(self, outs: Optional[dict[str, Any]]=None) -> None:
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 1.5 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 12 | 2 | 4 | 2 | 2 | 6 | 4 | 2 | 2 | 1 | 0 | 0 | 1 |
15,639 | pulumi/pulumi | sdk/python/lib/pulumi/errors.py | pulumi.errors.InputPropertiesError | from typing import Optional, TypedDict
class InputPropertiesError(Exception):
def __init__(self, message: str, errors: Optional[list[InputPropertyErrorDetails]]=None):
"""
Can be used to indicate that the client has made a request with bad input properties.
"""
super().__init__(mes... |
class InputPropertiesError(Exception):
def __init__(self, message: str, errors: Optional[list[InputPropertyErrorDetails]]=None):
'''
Can be used to indicate that the client has made a request with bad input properties.
'''
pass | 2 | 1 | 9 | 0 | 6 | 3 | 1 | 0.43 | 1 | 3 | 1 | 0 | 1 | 2 | 1 | 11 | 10 | 0 | 7 | 6 | 3 | 3 | 5 | 4 | 3 | 1 | 3 | 0 | 1 |
15,640 | pulumi/pulumi | sdk/python/lib/pulumi/errors.py | pulumi.errors.InputPropertyError | class InputPropertyError(Exception):
def __init__(self, property_path: str, reason: str):
"""
Can be used to indicate that the client has made a request with a bad input property.
"""
self.property_path = property_path
self.reason = reason | class InputPropertyError(Exception):
def __init__(self, property_path: str, reason: str):
'''
Can be used to indicate that the client has made a request with a bad input property.
'''
pass | 2 | 1 | 6 | 0 | 3 | 3 | 1 | 0.75 | 1 | 1 | 0 | 0 | 1 | 2 | 1 | 11 | 7 | 0 | 4 | 4 | 2 | 3 | 4 | 4 | 2 | 1 | 3 | 0 | 1 |
15,641 | pulumi/pulumi | sdk/python/lib/pulumi/errors.py | pulumi.errors.InputPropertyErrorDetails | from typing import Optional, TypedDict
class InputPropertyErrorDetails(TypedDict):
"""
Represents an error in a property value.
"""
property_path: str
reason: str |
class InputPropertyErrorDetails(TypedDict):
'''
Represents an error in a property value.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 1 | 3 | 1 | 2 | 3 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
15,642 | pulumi/pulumi | sdk/python/lib/pulumi/errors.py | pulumi.errors.RunError | class RunError(Exception):
"""
Can be used for terminating a program abruptly, but resulting in a clean exit rather than the usual
verbose unhandled error logic which emits the source program text and complete stack trace.
""" | class RunError(Exception):
'''
Can be used for terminating a program abruptly, but resulting in a clean exit rather than the usual
verbose unhandled error logic which emits the source program text and complete stack trace.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 10 | 5 | 0 | 1 | 1 | 0 | 4 | 1 | 1 | 0 | 0 | 3 | 0 | 0 |
15,643 | pulumi/pulumi | sdk/python/lib/pulumi/invoke.py | pulumi.invoke.InvokeOptions | from typing import Any, Callable, Optional, TYPE_CHECKING, Union, cast
import copy
class InvokeOptions:
"""
InvokeOptions is a bag of options that control the behavior of a call to runtime.invoke.
"""
parent: Optional['Resource']
'\n An optional parent to use for default options for this invoke ... |
class InvokeOptions:
'''
InvokeOptions is a bag of options that control the behavior of a call to runtime.invoke.
'''
def __init__(self, parent: Optional['Resource']=None, provider: Optional['ProviderResource']=None, version: Optional[str]=None, plugin_download_url: Optional[str]=None) -> None:
... | 3 | 3 | 27 | 4 | 12 | 11 | 4 | 1.21 | 0 | 2 | 0 | 1 | 2 | 0 | 3 | 3 | 108 | 17 | 42 | 16 | 28 | 51 | 28 | 6 | 24 | 9 | 0 | 1 | 11 |
15,644 | pulumi/pulumi | sdk/python/lib/pulumi/invoke.py | pulumi.invoke.InvokeOutputOptions | from typing import Any, Callable, Optional, TYPE_CHECKING, Union, cast
from collections.abc import Awaitable, Sequence
class InvokeOutputOptions(InvokeOptions):
"""
InvokeOutputOptions is a bag of options that control the behavior of a call to runtime.invoke_output.
"""
depends_on: Optional['Input[Unio... |
class InvokeOutputOptions(InvokeOptions):
'''
InvokeOutputOptions is a bag of options that control the behavior of a call to runtime.invoke_output.
'''
def __init__(self, parent: Optional['Resource']=None, provider: Optional['ProviderResource']=None, version: Optional[str]='', plugin_download_url: Opt... | 4 | 2 | 29 | 4 | 19 | 6 | 4 | 0.38 | 1 | 5 | 0 | 0 | 3 | 0 | 4 | 7 | 130 | 22 | 80 | 24 | 58 | 30 | 31 | 9 | 24 | 11 | 1 | 1 | 15 |
15,645 | pulumi/pulumi | sdk/python/lib/pulumi/invoke.py | pulumi.invoke.InvokeTransformArgs | class InvokeTransformArgs:
"""
InvokeTransformArgs is the argument bag passed to an invoke transform.
"""
token: str
'\n The token of the invoke.\n '
args: 'Inputs'
'\n The original arguments passed to the invocation.\n '
opts: 'InvokeOptions'
'\n The original invoke o... | class InvokeTransformArgs:
'''
InvokeTransformArgs is the argument bag passed to an invoke transform.
'''
def __init__(self, token: str, args: 'Inputs', opts: 'InvokeOptions') -> None:
pass | 2 | 1 | 9 | 0 | 9 | 0 | 1 | 0.92 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 29 | 4 | 13 | 7 | 6 | 12 | 8 | 2 | 6 | 1 | 0 | 0 | 1 |
15,646 | pulumi/pulumi | sdk/python/lib/pulumi/invoke.py | pulumi.invoke.InvokeTransformResult | class InvokeTransformResult:
"""
InvokeTransformResult is the result that must be returned by an invoke transform callback.
It includes new values to use for the `args` and `opts` of the `Invoke` in place of the
originally provided values.
"""
args: 'Inputs'
'\n The new arguments to use i... | class InvokeTransformResult:
'''
InvokeTransformResult is the result that must be returned by an invoke transform callback.
It includes new values to use for the `args` and `opts` of the `Invoke` in place of the
originally provided values.
'''
def __init__(self, args: 'Inputs', opts: 'InvokeOpt... | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.83 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 20 | 3 | 6 | 2 | 4 | 11 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,647 | pulumi/pulumi | sdk/python/lib/pulumi/output.py | pulumi.output.Output | from functools import reduce
import os
import contextlib
import asyncio
from . import log
from . import _types
from .runtime.sync_await import _sync_await
from typing import TYPE_CHECKING, Any, Callable, Generic, Optional, TypeVar, Union, cast, overload
from .runtime.settings import SETTINGS
from collections.abc import... |
class Output(Generic[T_co]):
'''
Output helps encode the relationship between Resources in a Pulumi application. Specifically an
Output holds onto a piece of Data and the Resource it was generated from. An Output value can
then be provided when constructing new Resources, allowing that new Resource to ... | 68 | 17 | 21 | 3 | 14 | 5 | 2 | 0.53 | 1 | 22 | 2 | 0 | 13 | 0 | 28 | 30 | 783 | 133 | 429 | 166 | 329 | 228 | 299 | 116 | 249 | 7 | 1 | 2 | 82 |
15,648 | pulumi/pulumi | sdk/python/lib/pulumi/output.py | pulumi.output.Unknown | class Unknown:
"""
Unknown represents a value that is unknown.
"""
def __init__(self):
pass | class Unknown:
'''
Unknown represents a value that is unknown.
'''
def __init__(self):
pass | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 7 | 1 | 3 | 2 | 1 | 3 | 3 | 2 | 1 | 1 | 0 | 0 | 1 |
15,649 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/analyzer.py | pulumi.provider.experimental.analyzer.Analyzer | from typing import Any, ForwardRef, Literal, Optional, TypedDict, Union, _GenericAlias, _SpecialGenericAlias, cast, get_args, get_origin
import ast
from ...resource import ComponentResource, Resource
import inspect
from enum import Enum
import sys
from .util import camel_case
class Analyzer:
"""
Analyzer infer... |
class Analyzer:
'''
Analyzer infers component and type definitions for a set of
ComponentResources types using type annotations.
The entrypoint for this is `Analyzer.analyze`, which returns a dictionary of
`ComponentDefinition`, which represent components, and a dictionary of
`TypeDefinition`, ... | 8 | 7 | 25 | 1 | 19 | 6 | 4 | 0.46 | 0 | 20 | 9 | 0 | 10 | 3 | 10 | 10 | 297 | 22 | 190 | 64 | 165 | 88 | 117 | 50 | 106 | 16 | 0 | 3 | 40 |
15,650 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/analyzer.py | pulumi.provider.experimental.analyzer.DuplicateTypeError | from typing import Any, ForwardRef, Literal, Optional, TypedDict, Union, _GenericAlias, _SpecialGenericAlias, cast, get_args, get_origin
class DuplicateTypeError(Exception):
def __init__(self, new_module: str, existing: Union[TypeDefinition, ComponentDefinition]):
self.new_module = new_module
self... |
class DuplicateTypeError(Exception):
def __init__(self, new_module: str, existing: Union[TypeDefinition, ComponentDefinition]):
pass | 2 | 0 | 8 | 0 | 8 | 0 | 1 | 0 | 1 | 4 | 2 | 0 | 1 | 2 | 1 | 11 | 9 | 0 | 9 | 6 | 5 | 0 | 5 | 4 | 3 | 1 | 3 | 0 | 1 |
15,651 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/analyzer.py | pulumi.provider.experimental.analyzer.InvalidMapKeyError | class InvalidMapKeyError(Exception):
def __init__(self, key_type: type, typ: type, property_name: str):
self.key = key_type
self.property = property_name
self.typ = typ
super().__init__(f"map keys must be strings, got '{key_type.__name__}' for '{typ.__name__}.{property_name}'") | class InvalidMapKeyError(Exception):
def __init__(self, key_type: type, typ: type, property_name: str):
pass | 2 | 0 | 7 | 0 | 7 | 0 | 1 | 0 | 1 | 3 | 0 | 0 | 1 | 3 | 1 | 11 | 8 | 0 | 8 | 5 | 6 | 0 | 6 | 5 | 4 | 1 | 3 | 0 | 1 |
15,652 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/analyzer.py | pulumi.provider.experimental.analyzer.TypeNotFoundError | class TypeNotFoundError(Exception):
def __init__(self, name: str):
self.name = name
super().__init__(f"Could not find the type '{name}'. " + 'Ensure it is defined in your source code or is imported.') | class TypeNotFoundError(Exception):
def __init__(self, name: str):
pass | 2 | 0 | 6 | 0 | 6 | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 1 | 1 | 1 | 11 | 7 | 0 | 7 | 3 | 5 | 0 | 4 | 3 | 2 | 1 | 3 | 0 | 1 |
15,653 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/schema.py | pulumi.provider.experimental.schema.ComplexType | from dataclasses import dataclass
from .analyzer import ComponentDefinition, Dependency, EnumValueDefinition, Parameterization, PropertyDefinition, PropertyType, TypeDefinition
from typing import Any, Optional, Union
@dataclass
class ComplexType(ObjectType):
"""https://www.pulumi.com/docs/iac/using-pulumi/pulumi-p... | @dataclass
class ComplexType(ObjectType):
'''https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#complextype'''
def to_json(self) -> dict[str, Any]:
pass
@staticmethod
def from_definition(type_def: TypeDefinition) -> 'ComplexType':
pass | 5 | 1 | 11 | 0 | 11 | 0 | 1 | 0.04 | 1 | 6 | 3 | 0 | 1 | 0 | 2 | 2 | 29 | 3 | 25 | 9 | 19 | 1 | 7 | 5 | 4 | 1 | 1 | 0 | 2 |
15,654 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/schema.py | pulumi.provider.experimental.schema.ObjectType | from dataclasses import dataclass
from .analyzer import ComponentDefinition, Dependency, EnumValueDefinition, Parameterization, PropertyDefinition, PropertyType, TypeDefinition
@dataclass
class ObjectType:
"""https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#objecttype"""
type: PropertyType
... | @dataclass
class ObjectType:
'''https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#objecttype'''
pass | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 6 | 1 | 4 | 1 | 3 | 1 | 4 | 1 | 3 | 0 | 0 | 0 | 0 |
15,655 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/schema.py | pulumi.provider.experimental.schema.PackageSpec | from typing import Any, Optional, Union
from dataclasses import dataclass
@dataclass
class PackageSpec:
"""https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#package"""
name: str
version: str
displayName: str
namespace: Optional[str]
resources: dict[str, Resource]
types: d... | @dataclass
class PackageSpec:
'''https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#package'''
def to_json(self) -> dict[str, Any]:
pass | 3 | 1 | 9 | 0 | 9 | 0 | 1 | 0.06 | 0 | 3 | 0 | 0 | 1 | 0 | 1 | 1 | 19 | 2 | 16 | 2 | 14 | 1 | 9 | 2 | 7 | 1 | 0 | 0 | 1 |
15,656 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/schema.py | pulumi.provider.experimental.schema.Property | from .analyzer import ComponentDefinition, Dependency, EnumValueDefinition, Parameterization, PropertyDefinition, PropertyType, TypeDefinition
from dataclasses import dataclass
from typing import Any, Optional, Union
@dataclass
class Property:
"""https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/... | @dataclass
class Property:
'''https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#property'''
def to_json(self) -> dict[str, Any]:
pass
@staticmethod
def from_definition(property: PropertyDefinition) -> 'Property':
pass | 5 | 1 | 12 | 0 | 12 | 0 | 4 | 0.03 | 0 | 4 | 1 | 0 | 1 | 0 | 2 | 2 | 36 | 3 | 32 | 5 | 28 | 1 | 11 | 4 | 8 | 4 | 0 | 0 | 7 |
15,657 | pulumi/pulumi | sdk/python/lib/pulumi/provider/experimental/schema.py | pulumi.provider.experimental.schema.Resource | from typing import Any, Optional, Union
from .analyzer import ComponentDefinition, Dependency, EnumValueDefinition, Parameterization, PropertyDefinition, PropertyType, TypeDefinition
from dataclasses import dataclass
@dataclass
class Resource(ObjectType):
"""https://www.pulumi.com/docs/iac/using-pulumi/pulumi-pack... | @dataclass
class Resource(ObjectType):
'''https://www.pulumi.com/docs/iac/using-pulumi/pulumi-packages/schema/#resource'''
def to_json(self) -> dict[str, Any]:
pass
@staticmethod
def from_definition(component: ComponentDefinition) -> 'Resource':
pass | 5 | 1 | 16 | 0 | 16 | 0 | 1 | 0.03 | 1 | 7 | 3 | 0 | 1 | 0 | 2 | 2 | 41 | 3 | 37 | 7 | 33 | 1 | 9 | 4 | 6 | 1 | 1 | 0 | 2 |
15,658 | pulumi/pulumi | sdk/python/lib/pulumi/provider/provider.py | pulumi.provider.provider.CallResult | from collections.abc import Sequence, Mapping
from pulumi import ResourceOptions, Input, Inputs
from typing import Optional, Any
class CallResult:
"""CallResult represents the results of a call to `Provider.call`."""
outputs: Inputs
'The outputs returned by the invoked function, if any.'
failures: Opti... |
class CallResult:
'''CallResult represents the results of a call to `Provider.call`.'''
def __init__(self, outputs: Inputs, failures: Optional[Sequence[CheckFailure]]=None) -> None:
pass | 2 | 1 | 5 | 0 | 5 | 0 | 1 | 0.38 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 14 | 3 | 8 | 4 | 4 | 3 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,659 | pulumi/pulumi | sdk/python/lib/pulumi/provider/provider.py | pulumi.provider.provider.CheckFailure | class CheckFailure:
"""CheckFailure represents a single failure in the results of a call to `Provider.call`."""
property: str
'The property that failed validation.'
reason: str
'The reason that the property failed validation.'
def __init__(self, property: str, reason: str) -> None:
self... | class CheckFailure:
'''CheckFailure represents a single failure in the results of a call to `Provider.call`.'''
def __init__(self, property: str, reason: str) -> None:
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 0.5 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 12 | 3 | 6 | 3 | 4 | 3 | 6 | 3 | 4 | 1 | 0 | 0 | 1 |
15,660 | pulumi/pulumi | sdk/python/lib/pulumi/provider/provider.py | pulumi.provider.provider.ConstructResult | from pulumi import ResourceOptions, Input, Inputs
class ConstructResult:
"""ConstructResult represents the results of a call to
`Provider.construct`.
"""
urn: Input[str]
'The URN of the constructed resource.'
state: Inputs
'Any state that was computed during construction.'
def __init_... |
class ConstructResult:
'''ConstructResult represents the results of a call to
`Provider.construct`.
'''
def __init__(self, urn: Input[str], state: Inputs) -> None:
pass | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 0.83 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 15 | 4 | 6 | 2 | 4 | 5 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,661 | pulumi/pulumi | sdk/python/lib/pulumi/provider/provider.py | pulumi.provider.provider.InvokeResult | from collections.abc import Sequence, Mapping
from typing import Optional, Any
class InvokeResult:
"""InvokeResult represents the results of a call to `Provider.invoke`."""
outputs: Mapping[str, Any]
'The outputs returned by the invoked function, if any.'
failures: Optional[Sequence[CheckFailure]]
... |
class InvokeResult:
'''InvokeResult represents the results of a call to `Provider.invoke`.'''
def __init__(self, outputs: Mapping[str, Any], failures: Optional[Sequence[CheckFailure]]=None) -> None:
pass | 2 | 1 | 7 | 0 | 7 | 0 | 1 | 0.3 | 0 | 3 | 1 | 0 | 1 | 0 | 1 | 1 | 16 | 3 | 10 | 6 | 4 | 3 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,662 | pulumi/pulumi | sdk/python/lib/pulumi/provider/provider.py | pulumi.provider.provider.Provider | from collections.abc import Sequence, Mapping
from pulumi import ResourceOptions, Input, Inputs
from typing import Optional, Any
class Provider:
"""Provider represents an object that implements the resources and
functions for a particular Pulumi package.
"""
version: Optional[str]
schema: Optional... |
class Provider:
'''Provider represents an object that implements the resources and
functions for a particular Pulumi package.
'''
def __init__(self, version: Optional[str], schema: Optional[str]=None) -> None:
'''
:param str version: The version of the provider. Must be valid semver.
... | 5 | 5 | 10 | 2 | 4 | 5 | 1 | 1.17 | 0 | 7 | 4 | 15 | 4 | 0 | 4 | 4 | 51 | 12 | 18 | 11 | 7 | 21 | 12 | 5 | 7 | 1 | 0 | 0 | 4 |
15,663 | pulumi/pulumi | sdk/python/lib/pulumi/provider/server.py | pulumi.provider.server.ProviderServicer | import asyncio
from google.protobuf import struct_pb2
import traceback
from pulumi.runtime.proto import provider_pb2_grpc, ResourceProviderServicer, status_pb2, errors_pb2
from typing import Optional, TypeVar, Any, cast
import pulumi.runtime.config
import grpc.aio
import grpc
from pulumi.errors import InputPropertiesEr... |
class ProviderServicer(ResourceProviderServicer):
'''Implements a subset of `ResourceProvider` methods to support
`Construct` and other methods invoked by the engine when the user
program creates a remote `ComponentResource` (with `remote=true`
in the constructor).
See `ResourceProvider` defined in... | 24 | 1 | 17 | 1 | 14 | 2 | 2 | 0.2 | 1 | 19 | 11 | 0 | 13 | 0 | 17 | 38 | 349 | 48 | 255 | 82 | 215 | 50 | 139 | 60 | 119 | 3 | 2 | 2 | 35 |
15,664 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.Alias | from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
class Alias:
"""
Alias is a partial description of prior named used for a resource. It can be processed in the
context of a resource creation to determine what the full aliased URN would be.
Note there is a semantic difference betw... |
class Alias:
'''
Alias is a partial description of prior named used for a resource. It can be processed in the
context of a resource creation to determine what the full aliased URN would be.
Note there is a semantic difference between attributes being given the `None` value and
attributes not being... | 2 | 1 | 13 | 0 | 13 | 5 | 1 | 2.26 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 71 | 14 | 19 | 9 | 10 | 43 | 12 | 2 | 10 | 1 | 0 | 0 | 1 |
15,665 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ComponentResource | from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
from collections.abc import Awaitable, Mapping, Sequence
from .runtime.resource import _pkg_from_type, get_resource, register_resource, register_resource_outputs, read_resource, collapse_alias_to_urn, create_urn as create_urn_internal
class Compone... |
class ComponentResource(Resource):
'''
ComponentResource is a resource that aggregates one or more other child resources into a higher
level abstraction. The component itself is a resource, but does not require custom CRUD
operations for provisioning.
'''
def __init__(self, t: str, name: str,... | 3 | 3 | 15 | 1 | 8 | 7 | 2 | 1.12 | 1 | 3 | 1 | 172 | 2 | 0 | 2 | 8 | 40 | 4 | 17 | 11 | 6 | 19 | 9 | 3 | 6 | 2 | 1 | 1 | 3 |
15,666 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.CustomResource | from collections.abc import Awaitable, Mapping, Sequence
from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
class CustomResource(Resource):
"""
CustomResource is a resource whose create, read, update, and delete (CRUD) operations are
managed by performing external operations on some phy... |
class CustomResource(Resource):
'''
CustomResource is a resource whose create, read, update, and delete (CRUD) operations are
managed by performing external operations on some physical entity. The engine understands how
to diff and perform partial updates of them, and these CRUD operations are impleme... | 4 | 3 | 14 | 0 | 7 | 7 | 1 | 1.19 | 1 | 3 | 1 | 196 | 2 | 0 | 2 | 8 | 37 | 2 | 16 | 12 | 4 | 19 | 5 | 3 | 2 | 1 | 1 | 0 | 2 |
15,667 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.CustomTimeouts | from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
class CustomTimeouts:
create: Optional[str]
'\n create is the optional create timout represented as a string e.g. 5m, 40s, 1d.\n '
update: Optional[str]
'\n update is the optional update timout represented as a string e.g. ... |
class CustomTimeouts:
def __init__(self, create: Optional[str]=None, update: Optional[str]=None, delete: Optional[str]=None) -> None:
pass | 2 | 0 | 9 | 0 | 9 | 0 | 1 | 0.69 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 25 | 3 | 13 | 7 | 6 | 9 | 8 | 2 | 6 | 1 | 0 | 0 | 1 |
15,668 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.DependencyProviderResource | from .output import _is_prompt, _map_input, _map2_input, Output
from . import urn as urn_util
import asyncio
class DependencyProviderResource(ProviderResource):
"""
A DependencyProviderResource is a resource that is used by the provider SDK as a stand-in for a provider that
is only used for its reference. ... |
class DependencyProviderResource(ProviderResource):
'''
A DependencyProviderResource is a resource that is used by the provider SDK as a stand-in for a provider that
is only used for its reference. Its only valid properties are its URN and ID.
'''
def __init__(self, ref: str) -> None:
pass | 2 | 1 | 25 | 4 | 19 | 2 | 1 | 0.3 | 1 | 4 | 1 | 0 | 1 | 0 | 1 | 10 | 31 | 5 | 20 | 11 | 18 | 6 | 20 | 11 | 18 | 1 | 3 | 0 | 1 |
15,669 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.DependencyResource | import asyncio
from .output import _is_prompt, _map_input, _map2_input, Output
from . import urn as urn_util
class DependencyResource(CustomResource):
"""
A DependencyResource is a resource that is used to indicate that an Output has a dependency on a particular
resource. These resources are only created w... |
class DependencyResource(CustomResource):
'''
A DependencyResource is a resource that is used to indicate that an Output has a dependency on a particular
resource. These resources are only created when dealing with remote component resources.
'''
def __init__(self, urn: str) -> None:
pass | 2 | 1 | 10 | 1 | 9 | 0 | 1 | 0.4 | 1 | 4 | 1 | 0 | 1 | 0 | 1 | 9 | 16 | 2 | 10 | 5 | 8 | 4 | 10 | 5 | 8 | 1 | 2 | 0 | 1 |
15,670 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ProviderResource | from collections.abc import Awaitable, Mapping, Sequence
from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
class ProviderResource(CustomResource):
"""
ProviderResource is a resource that implements CRUD operations for other custom resources. These resources are
managed similarly to oth... |
class ProviderResource(CustomResource):
'''
ProviderResource is a resource that implements CRUD operations for other custom resources. These resources are
managed similarly to other resources, including the usual diffing and update semantics.
'''
def __init__(self, pkg: str, name: str, props: Opti... | 2 | 2 | 28 | 1 | 17 | 10 | 2 | 0.89 | 1 | 4 | 1 | 128 | 1 | 0 | 1 | 9 | 39 | 3 | 19 | 10 | 9 | 17 | 7 | 2 | 5 | 2 | 2 | 1 | 2 |
15,671 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.Resource | from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
import warnings
from collections.abc import Awaitable, Mapping, Sequence
from .runtime.settings import get_root_resource
from . import log
from . import _types
from .runtime.resource import _pkg_from_type, get_resource, register_resource, register_r... |
class Resource:
'''
Resource represents a class whose CRUD operations are implemented by a provider plugin.
'''
def __init__(self, t: str, name: str, custom: bool, props: Optional['Inputs']=None, opts: Optional[ResourceOptions]=None, remote: bool=False, dependency: bool=False, package_ref: Optiona... | 12 | 9 | 46 | 5 | 26 | 15 | 7 | 0.72 | 0 | 11 | 4 | 16 | 6 | 0 | 6 | 6 | 335 | 48 | 167 | 38 | 147 | 120 | 114 | 25 | 107 | 28 | 0 | 3 | 40 |
15,672 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ResourceOptions | import copy
from . import urn as urn_util
from .resource_hooks import ResourceHookBinding
from collections.abc import Awaitable, Mapping, Sequence
import warnings
from . import log
from .output import _is_prompt, _map_input, _map2_input, Output
from typing import Optional, Any, Union, Callable, TYPE_CHECKING, cast
cla... |
class ResourceOptions:
'''
ResourceOptions is a bag of optional settings that control a resource's behavior.
'''
def __init__(self, parent: Optional['Resource']=None, depends_on: Optional['Input[Union[Sequence[Input[Resource]], Resource]]']=None, protect: Optional[bool]=None, provider: Optional['Provi... | 6 | 4 | 46 | 4 | 25 | 18 | 5 | 1.17 | 0 | 7 | 1 | 0 | 4 | 1 | 5 | 5 | 402 | 51 | 163 | 46 | 127 | 191 | 101 | 17 | 94 | 17 | 0 | 3 | 29 |
15,673 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ResourceTransformArgs | class ResourceTransformArgs:
"""
ResourceTransformArgs is the argument bag passed to a resource transform.
"""
custom: bool
'\n If the resource is a custom or component resource.\n '
type_: str
'\n The type of the Resource.\n '
name: str
'\n The name of the Resource.\n... | class ResourceTransformArgs:
'''
ResourceTransformArgs is the argument bag passed to a resource transform.
'''
def __init__(self, custom: bool, type_: str, name: str, props: 'Inputs', opts: 'ResourceOptions') -> None:
pass | 2 | 1 | 13 | 0 | 13 | 0 | 1 | 0.95 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 43 | 6 | 19 | 9 | 10 | 18 | 12 | 2 | 10 | 1 | 0 | 0 | 1 |
15,674 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ResourceTransformResult | class ResourceTransformResult:
"""
ResourceTransformResult is the result that must be returned by a resource transform callback.
It includes new values to use for the `props` and `opts` of the `Resource` in place of the
originally provided values.
"""
props: 'Inputs'
'\n The new propertie... | class ResourceTransformResult:
'''
ResourceTransformResult is the result that must be returned by a resource transform callback.
It includes new values to use for the `props` and `opts` of the `Resource` in place of the
originally provided values.
'''
def __init__(self, props: 'Inputs', opts: '... | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.83 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 20 | 3 | 6 | 2 | 4 | 11 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,675 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ResourceTransformationArgs | class ResourceTransformationArgs:
"""
ResourceTransformationArgs is the argument bag passed to a resource transformation.
"""
resource: 'Resource'
'\n The Resource instance that is being transformed.\n '
type_: str
'\n The type of the Resource.\n '
name: str
'\n The na... | class ResourceTransformationArgs:
'''
ResourceTransformationArgs is the argument bag passed to a resource transformation.
'''
def __init__(self, resource: 'Resource', type_: str, name: str, props: 'Inputs', opts: 'ResourceOptions') -> None:
pass | 2 | 1 | 13 | 0 | 13 | 0 | 1 | 0.95 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 43 | 6 | 19 | 9 | 10 | 18 | 12 | 2 | 10 | 1 | 0 | 0 | 1 |
15,676 | pulumi/pulumi | sdk/python/lib/pulumi/resource.py | pulumi.resource.ResourceTransformationResult | class ResourceTransformationResult:
"""
ResourceTransformationResult is the result that must be returned by a resource transformation
callback. It includes new values to use for the `props` and `opts` of the `Resource` in place of
the originally provided values.
"""
props: 'Inputs'
'\n T... | class ResourceTransformationResult:
'''
ResourceTransformationResult is the result that must be returned by a resource transformation
callback. It includes new values to use for the `props` and `opts` of the `Resource` in place of
the originally provided values.
'''
def __init__(self, props: '... | 2 | 1 | 3 | 0 | 3 | 0 | 1 | 1.83 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 20 | 3 | 6 | 2 | 4 | 11 | 6 | 2 | 4 | 1 | 0 | 0 | 1 |
15,677 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/_callbacks.py | pulumi.runtime._callbacks._CallbackServicer | from .rpc import deserialize_properties, serialize_properties
from typing import TYPE_CHECKING, Callable, Optional, Union, cast
from google.protobuf.message import Message
from .. import log
from grpc import aio
from collections.abc import Awaitable, Mapping
from .proto import alias_pb2, callback_pb2, callback_pb2_grpc... |
class _CallbackServicer(callback_pb2_grpc.CallbacksServicer):
def __init__(self, monitor: resource_pb2_grpc.ResourceMonitorStub):
pass
async def serve(self):
pass
@classmethod
async def shutdown(cls):
pass
async def Invoke(self, request: callback_pb2.CallbackInvokeRequest... | 21 | 1 | 30 | 5 | 26 | 0 | 5 | 0.02 | 1 | 17 | 13 | 0 | 12 | 0 | 13 | 14 | 407 | 72 | 330 | 109 | 266 | 5 | 224 | 71 | 198 | 20 | 2 | 3 | 76 |
15,678 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/invoke.py | pulumi.runtime.invoke.InvokeResult | from typing import TYPE_CHECKING, Any, Optional, Union
class InvokeResult:
"""
InvokeResult is a helper type that wraps a prompt value in an Awaitable.
"""
def __init__(self, value: Any, is_secret: bool=False, is_known: bool=True, dependencies: Optional[list['Resource']]=None):
self.value = va... |
class InvokeResult:
'''
InvokeResult is a helper type that wraps a prompt value in an Awaitable.
'''
def __init__(self, value: Any, is_secret: bool=False, is_known: bool=True, dependencies: Optional[list['Resource']]=None):
pass
def __await__(self):
pass | 3 | 1 | 9 | 0 | 8 | 1 | 2 | 0.29 | 0 | 2 | 0 | 0 | 2 | 4 | 2 | 2 | 25 | 3 | 17 | 14 | 8 | 5 | 11 | 8 | 8 | 2 | 0 | 1 | 3 |
15,679 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.MockCallArgs | class MockCallArgs:
"""
MockCallArgs is used to construct a call Mock
"""
token: str
args: dict
provider: str
def __init__(self, token: str, args: dict, provider: str) -> None:
"""
:param str token: The token that indicates which function is being called. This token is of th... | class MockCallArgs:
'''
MockCallArgs is used to construct a call Mock
'''
def __init__(self, token: str, args: dict, provider: str) -> None:
'''
:param str token: The token that indicates which function is being called. This token is of the form "package:module:function".
:param... | 2 | 2 | 9 | 0 | 4 | 5 | 1 | 1 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 18 | 2 | 8 | 2 | 6 | 8 | 8 | 2 | 6 | 1 | 0 | 0 | 1 |
15,680 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.MockEngine | from typing import NamedTuple, Optional
from ..runtime.proto import engine_pb2, provider_pb2, resource_pb2
import logging
class MockEngine:
logger: logging.Logger
def __init__(self, logger: Optional[logging.Logger]):
self.logger = logger if logger is not None else logging.getLogger()
def Log(self... |
class MockEngine:
def __init__(self, logger: Optional[logging.Logger]):
pass
def Log(self, request):
pass | 3 | 0 | 6 | 0 | 6 | 0 | 4 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 2 | 2 | 15 | 2 | 13 | 3 | 10 | 0 | 10 | 3 | 7 | 5 | 0 | 1 | 7 |
15,681 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.MockMonitor | from google.protobuf import empty_pb2
from ..runtime.proto import engine_pb2, provider_pb2, resource_pb2
from typing import NamedTuple, Optional
from . import rpc, rpc_manager
from .sync_await import _ensure_event_loop, _sync_await
from .settings import Settings, configure, get_project, get_root_resource, get_stack, SE... |
class MockMonitor:
class ResourceRegistration(NamedTuple):
def __init__(self, mocks: Mocks):
pass
def make_urn(self, parent: str, type_: str, name: str) -> str:
pass
def Invoke(self, request):
pass
def ReadResource(self, request):
pass
def RegisterResource(... | 11 | 0 | 14 | 3 | 11 | 1 | 2 | 0.06 | 0 | 9 | 4 | 1 | 7 | 0 | 7 | 7 | 115 | 27 | 83 | 29 | 74 | 5 | 59 | 29 | 50 | 4 | 0 | 2 | 12 |
15,682 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.MockResourceArgs | from typing import NamedTuple, Optional
class MockResourceArgs:
"""
MockResourceArgs is used to construct a newResource Mock
"""
typ: str
name: str
inputs: dict
provider: Optional[str] = None
resource_id: Optional[str] = None
custom: Optional[bool] = None
def __init__(self, typ... |
class MockResourceArgs:
'''
MockResourceArgs is used to construct a newResource Mock
'''
def __init__(self, typ: str, name: str, inputs: dict, provider: Optional[str]=None, resource_id: Optional[str]=None, custom: Optional[bool]=None) -> None:
'''
:param str typ: The token that indicat... | 2 | 2 | 23 | 0 | 15 | 8 | 1 | 0.5 | 0 | 3 | 0 | 0 | 1 | 0 | 1 | 1 | 35 | 2 | 22 | 13 | 12 | 11 | 14 | 5 | 12 | 1 | 0 | 0 | 1 |
15,683 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.MockSettings | from . import rpc, rpc_manager
from .settings import Settings, configure, get_project, get_root_resource, get_stack, SETTINGS
class MockSettings(Settings):
def __init__(self, *_, **kwargs):
self.rpc_manager = rpc_manager.RPCManager()
for key, value in kwargs.items():
setattr(self, key,... |
class MockSettings(Settings):
def __init__(self, *_, **kwargs):
pass
def __repr__(self):
pass | 3 | 0 | 3 | 0 | 3 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 2 | 17 | 8 | 1 | 7 | 5 | 4 | 0 | 7 | 5 | 4 | 2 | 1 | 1 | 3 |
15,684 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/mocks.py | pulumi.runtime.mocks.Mocks | from abc import ABC, abstractmethod
from typing import NamedTuple, Optional
class Mocks(ABC):
"""
Mocks is an abstract class that allows subclasses to replace operations normally implemented by the Pulumi engine with
their own implementations. This can be used during testing to ensure that calls to provide... |
class Mocks(ABC):
'''
Mocks is an abstract class that allows subclasses to replace operations normally implemented by the Pulumi engine with
their own implementations. This can be used during testing to ensure that calls to provider functions and resource constructors
return predictable values.
'''... | 5 | 3 | 8 | 1 | 2 | 5 | 1 | 2 | 1 | 4 | 2 | 16 | 2 | 0 | 2 | 22 | 25 | 4 | 7 | 5 | 2 | 14 | 5 | 3 | 2 | 1 | 4 | 0 | 2 |
15,685 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/analyzer_pb2_grpc.py | pulumi.runtime.proto.analyzer_pb2_grpc.Analyzer | from . import plugin_pb2 as pulumi_dot_plugin__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
import grpc
from . import analyzer_pb2 as pulumi_dot_analyzer__pb2
class Analyzer(object):
"""Analyzer provides a pluggable interface for checking resource definitions against some number ... |
class Analyzer(object):
'''Analyzer provides a pluggable interface for checking resource definitions against some number of
resource policies. It is intentionally open-ended, allowing for implementations that check
everything from raw resource definitions to entire projects/stacks/snapshots for arbitrary
... | 19 | 1 | 15 | 0 | 15 | 0 | 1 | 0.05 | 1 | 0 | 0 | 0 | 0 | 0 | 6 | 6 | 108 | 6 | 97 | 67 | 30 | 5 | 13 | 7 | 6 | 1 | 1 | 0 | 6 |
15,686 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/analyzer_pb2_grpc.py | pulumi.runtime.proto.analyzer_pb2_grpc.AnalyzerServicer | import grpc
class AnalyzerServicer(object):
"""Analyzer provides a pluggable interface for checking resource definitions against some number of
resource policies. It is intentionally open-ended, allowing for implementations that check
everything from raw resource definitions to entire projects/stacks/snaps... |
class AnalyzerServicer(object):
'''Analyzer provides a pluggable interface for checking resource definitions against some number of
resource policies. It is intentionally open-ended, allowing for implementations that check
everything from raw resource definitions to entire projects/stacks/snapshots for arb... | 10 | 10 | 7 | 0 | 4 | 3 | 1 | 0.84 | 1 | 1 | 0 | 0 | 6 | 0 | 6 | 6 | 52 | 6 | 25 | 7 | 18 | 21 | 25 | 7 | 18 | 1 | 1 | 0 | 6 |
15,687 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/analyzer_pb2_grpc.py | pulumi.runtime.proto.analyzer_pb2_grpc.AnalyzerStub | from . import analyzer_pb2 as pulumi_dot_analyzer__pb2
from . import plugin_pb2 as pulumi_dot_plugin__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
class AnalyzerStub(object):
"""Analyzer provides a pluggable interface for checking resource definitions against some number of
r... |
class AnalyzerStub(object):
'''Analyzer provides a pluggable interface for checking resource definitions against some number of
resource policies. It is intentionally open-ended, allowing for implementations that check
everything from raw resource definitions to entire projects/stacks/snapshots for arbitra... | 2 | 2 | 36 | 1 | 31 | 4 | 1 | 0.28 | 1 | 0 | 0 | 0 | 1 | 6 | 1 | 1 | 43 | 2 | 32 | 8 | 30 | 9 | 8 | 8 | 6 | 1 | 1 | 0 | 1 |
15,688 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/callback_pb2_grpc.py | pulumi.runtime.proto.callback_pb2_grpc.Callbacks | from . import callback_pb2 as pulumi_dot_callback__pb2
import grpc
class Callbacks(object):
"""Callbacks is a service for invoking functions in one runtime from other processes.
"""
@staticmethod
def Invoke(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, c... |
class Callbacks(object):
'''Callbacks is a service for invoking functions in one runtime from other processes.
'''
@staticmethod
def Invoke(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
... | 3 | 1 | 15 | 0 | 15 | 0 | 1 | 0.12 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 20 | 1 | 17 | 12 | 5 | 2 | 3 | 2 | 1 | 1 | 1 | 0 | 1 |
15,689 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/callback_pb2_grpc.py | pulumi.runtime.proto.callback_pb2_grpc.CallbacksServicer | import grpc
class CallbacksServicer(object):
"""Callbacks is a service for invoking functions in one runtime from other processes.
"""
def Invoke(self, request, context):
"""Invoke invokes a given callback, identified by its token.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED... |
class CallbacksServicer(object):
'''Callbacks is a service for invoking functions in one runtime from other processes.
'''
def Invoke(self, request, context):
'''Invoke invokes a given callback, identified by its token.
'''
pass | 2 | 2 | 6 | 0 | 4 | 2 | 1 | 0.8 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 10 | 1 | 5 | 2 | 3 | 4 | 5 | 2 | 3 | 1 | 1 | 0 | 1 |
15,690 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/callback_pb2_grpc.py | pulumi.runtime.proto.callback_pb2_grpc.CallbacksStub | from . import callback_pb2 as pulumi_dot_callback__pb2
class CallbacksStub(object):
"""Callbacks is a service for invoking functions in one runtime from other processes.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.In... |
class CallbacksStub(object):
'''Callbacks is a service for invoking functions in one runtime from other processes.
'''
def __init__(self, channel):
'''Constructor.
Args:
channel: A grpc.Channel.
'''
pass | 2 | 2 | 11 | 1 | 6 | 4 | 1 | 0.86 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 15 | 2 | 7 | 3 | 5 | 6 | 3 | 3 | 1 | 1 | 1 | 0 | 1 |
15,691 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/loader_pb2_grpc.py | pulumi.runtime.proto.codegen.loader_pb2_grpc.Loader | import grpc
from pulumi.codegen import loader_pb2 as pulumi_dot_codegen_dot_loader__pb2
class Loader(object):
"""Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
"""
@staticmethod
def GetSchema(r... |
class Loader(object):
'''Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
'''
@staticmethod
def GetSchema(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=Fal... | 3 | 1 | 15 | 0 | 15 | 0 | 1 | 0.18 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 21 | 1 | 17 | 12 | 5 | 3 | 3 | 2 | 1 | 1 | 1 | 0 | 1 |
15,692 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/loader_pb2_grpc.py | pulumi.runtime.proto.codegen.loader_pb2_grpc.LoaderServicer | import grpc
class LoaderServicer(object):
"""Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
"""
def GetSchema(self, request, context):
"""GetSchema tries to find a schema for the given pack... |
class LoaderServicer(object):
'''Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
'''
def GetSchema(self, request, context):
'''GetSchema tries to find a schema for the given package and vers... | 2 | 2 | 6 | 0 | 4 | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 11 | 1 | 5 | 2 | 3 | 5 | 5 | 2 | 3 | 1 | 1 | 0 | 1 |
15,693 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/loader_pb2_grpc.py | pulumi.runtime.proto.codegen.loader_pb2_grpc.LoaderStub | from pulumi.codegen import loader_pb2 as pulumi_dot_codegen_dot_loader__pb2
class LoaderStub(object):
"""Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
"""
def __init__(self, channel):
"""C... |
class LoaderStub(object):
'''Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
This is currently unstable and experimental.
'''
def __init__(self, channel):
'''Constructor.
Args:
channel: A grpc.Channel.
'''
... | 2 | 2 | 11 | 1 | 6 | 4 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 16 | 2 | 7 | 3 | 5 | 7 | 3 | 3 | 1 | 1 | 1 | 0 | 1 |
15,694 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/mapper_pb2_grpc.py | pulumi.runtime.proto.codegen.mapper_pb2_grpc.Mapper | import grpc
from pulumi.codegen import mapper_pb2 as pulumi_dot_codegen_dot_mapper__pb2
class Mapper(object):
"""Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map n... |
class Mapper(object):
'''Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g. a
Terraform provider, if we are converting from ... | 3 | 1 | 15 | 0 | 15 | 0 | 1 | 0.18 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 21 | 1 | 17 | 12 | 5 | 3 | 3 | 2 | 1 | 1 | 1 | 0 | 1 |
15,695 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/mapper_pb2_grpc.py | pulumi.runtime.proto.codegen.mapper_pb2_grpc.MapperServicer | import grpc
class MapperServicer(object):
"""Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g. a
Terraform provider, if we... |
class MapperServicer(object):
'''Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g. a
Terraform provider, if we are converti... | 2 | 2 | 6 | 0 | 4 | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 11 | 1 | 5 | 2 | 3 | 5 | 5 | 2 | 3 | 1 | 1 | 0 | 1 |
15,696 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/codegen/mapper_pb2_grpc.py | pulumi.runtime.proto.codegen.mapper_pb2_grpc.MapperStub | from pulumi.codegen import mapper_pb2 as pulumi_dot_codegen_dot_mapper__pb2
class MapperStub(object):
"""Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map names in ... |
class MapperStub(object):
'''Mapper is a service for getting mappings from other ecosystems to Pulumi.
This is currently unstable and experimental.
Mapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g. a
Terraform provider, if we are converting f... | 2 | 2 | 11 | 1 | 6 | 4 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 16 | 2 | 7 | 3 | 5 | 7 | 3 | 3 | 1 | 1 | 1 | 0 | 1 |
15,697 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/converter_pb2_grpc.py | pulumi.runtime.proto.converter_pb2_grpc.Converter | import grpc
from . import converter_pb2 as pulumi_dot_converter__pb2
class Converter(object):
"""Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
"""
@staticmethod
def ConvertState(request, target, options=(), channel_credentia... |
class Converter(object):
'''Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
'''
@staticmethod
def ConvertState(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait... | 5 | 1 | 15 | 0 | 15 | 0 | 1 | 0.09 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 38 | 2 | 33 | 23 | 10 | 3 | 5 | 3 | 2 | 1 | 1 | 0 | 2 |
15,698 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/converter_pb2_grpc.py | pulumi.runtime.proto.converter_pb2_grpc.ConverterServicer | import grpc
class ConverterServicer(object):
"""Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
"""
def ConvertState(self, request, context):
"""ConvertState converts state from the target ecosystem into a form that can be... |
class ConverterServicer(object):
'''Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
'''
def ConvertState(self, request, context):
'''ConvertState converts state from the target ecosystem into a form that can be imported in... | 3 | 3 | 6 | 0 | 4 | 2 | 1 | 0.78 | 1 | 1 | 0 | 0 | 2 | 0 | 2 | 2 | 18 | 2 | 9 | 3 | 6 | 7 | 9 | 3 | 6 | 1 | 1 | 0 | 2 |
15,699 | pulumi/pulumi | sdk/python/lib/pulumi/runtime/proto/converter_pb2_grpc.py | pulumi.runtime.proto.converter_pb2_grpc.ConverterStub | from . import converter_pb2 as pulumi_dot_converter__pb2
class ConverterStub(object):
"""Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: ... |
class ConverterStub(object):
'''Converter is a service for converting between other ecosystems and Pulumi.
This is currently unstable and experimental.
'''
def __init__(self, channel):
'''Constructor.
Args:
channel: A grpc.Channel.
'''
pass | 2 | 2 | 16 | 1 | 11 | 4 | 1 | 0.58 | 1 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 21 | 2 | 12 | 4 | 10 | 7 | 4 | 4 | 2 | 1 | 1 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.