Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions databricks/sdk/common/lro.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from datetime import timedelta
from typing import Optional


class LroOptions:
"""LroOptions is the options for the Long Running Operations.
DO NOT USE THIS OPTION. This option is still under development
and can be updated in the future without notice.
"""

def __init__(self, *, timeout: Optional[timedelta] = None):
"""
Args:
timeout: The timeout for the Long Running Operations.
If not set, the default timeout is 20 minutes.
"""
self.timeout = timeout or timedelta(minutes=20)
Loading