Skip to content

Commit

Permalink
fix: add missing return type in FlightDescriptor static methods (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
MTHSBGN authored Sep 12, 2024
1 parent c9a85b8 commit 8996deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyarrow-stubs/_flight.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ class FlightMethod(enum.Enum):

class FlightDescriptor(_Weakrefable):
@staticmethod
def for_path(*path: str | bytes): ...
def for_path(*path: str | bytes) -> FlightDescriptor: ...
@staticmethod
def for_command(command: str | bytes): ...
def for_command(command: str | bytes) -> FlightDescriptor: ...
@property
def descriptor_type(self) -> DescriptorType: ...
@property
Expand Down

0 comments on commit 8996deb

Please sign in to comment.