Skip to content

Commit

Permalink
Update stubs to 0.19.9
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Nov 8, 2023
1 parent 25bff80 commit aa6f42e
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 63 deletions.
14 changes: 13 additions & 1 deletion awscrt-stubs/s3.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ from concurrent.futures import Future
from dataclasses import dataclass
from enum import IntEnum
from threading import Event
from typing import Any, Callable, List, Optional, Tuple
from typing import Any, Callable, List, Optional, Tuple, Type

from awscrt import NativeResource as NativeResource
from awscrt.auth import AwsCredentialsProvider as AwsCredentialsProvider
Expand All @@ -11,6 +11,18 @@ from awscrt.http import HttpRequest as HttpRequest
from awscrt.io import ClientBootstrap as ClientBootstrap
from awscrt.io import TlsConnectionOptions as TlsConnectionOptions

class CrossProcessLock(NativeResource):
def __init__(self, lock_scope_name: str) -> None: ...
def acquire(self) -> None: ...
def __enter__(self) -> None: ...
def release(self) -> None: ...
def __exit__(
self,
exc_type: Optional[Type[Exception]],
exc_value: Optional[Exception],
exc_tb: Any,
) -> None: ...

class S3RequestType(IntEnum):
DEFAULT: int
GET_OBJECT: int
Expand Down
124 changes: 62 additions & 62 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa6f42e

Please sign in to comment.