Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed May 3, 2023
1 parent 5955e30 commit d727beb
Show file tree
Hide file tree
Showing 3 changed files with 596 additions and 566 deletions.
2 changes: 1 addition & 1 deletion .codegen/service.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from dataclasses import dataclass
from datetime import timedelta
from enum import Enum
from typing import Dict, List, Any, Optional, Iterator, Type, Callable
from typing import Dict, List, Any, Optional, Iterator, Type, Callable, Mapping
import time
import random
import logging
Expand Down
4 changes: 2 additions & 2 deletions databricks/sdk/service/_internal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import datetime
from typing import Any, Callable, Dict, Generic, Optional, Type, TypeVar
from typing import Any, Callable, Dict, Generic, Optional, Type, TypeVar, Mapping


def _from_dict(d: Dict[str, Any], field: str, cls: Type) -> Any:
Expand Down Expand Up @@ -29,7 +29,7 @@ class Wait(Generic[ReturnType]):
def __init__(self,
waiter: Callable,
response: Any = None,
**kwargs) -> None: # type: ignore[no-untyped-def]
**kwargs: Mapping[str, Any]) -> None:
self.response = response

self._waiter = waiter
Expand Down
Loading

0 comments on commit d727beb

Please sign in to comment.