Skip to content

Commit

Permalink
Fix CrossProcessLock typing
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Nov 8, 2023
1 parent aa6f42e commit 6a56af1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion awscrt-stubs/s3.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from concurrent.futures import Future
from dataclasses import dataclass
from enum import IntEnum
from threading import Event
from types import TracebackType
from typing import Any, Callable, List, Optional, Tuple, Type

from awscrt import NativeResource as NativeResource
Expand All @@ -20,7 +21,7 @@ class CrossProcessLock(NativeResource):
self,
exc_type: Optional[Type[Exception]],
exc_value: Optional[Exception],
exc_tb: Any,
exc_tb: Optional[TracebackType],
) -> None: ...

class S3RequestType(IntEnum):
Expand Down

0 comments on commit 6a56af1

Please sign in to comment.