We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d22c6e commit d487329Copy full SHA for d487329
src/databricks/sql/auth/retry.py
@@ -139,7 +139,7 @@ def __init__(
139
140
@classmethod
141
def __private_init__(
142
- cls, retry_start_time: float, command_type: Optional[CommandType], **init_kwargs
+ cls, retry_start_time: float, command_type: CommandType, **init_kwargs
143
):
144
"""
145
Returns a new instance of DatabricksRetryPolicy with the _retry_start_time and _command_type
@@ -238,7 +238,7 @@ def new(
238
)
239
240
@property
241
- def command_type(self) -> Optional[CommandType]:
+ def command_type(self) -> CommandType:
242
return self._command_type
243
244
@command_type.setter
0 commit comments