Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Update version to v0.6.0 and fix documentation formatting

Punit Arania2a95c884dd8
diff --git a/docs/api/search.md b/docs/api/search.md
index 9f5e4a4..ad560dd 100644
--- a/docs/api/search.md
+++ b/docs/api/search.md
@@ -12,7 +12,7 @@ The main search functionality for finding specific flights.
A simplified interface for flight search parameters.
-::: fli.models.google\_flights.FlightSearchFilters
+::: fli.models.google_flights.FlightSearchFilters
## Date Search
diff --git a/fli/search/client.py b/fli/search/client.py
index e5d9d50..8a4373a 100644
--- a/fli/search/client.py
+++ b/fli/search/client.py
@@ -8,6 +8,8 @@ This module provides a robust HTTP client that handles:
- Error handling
"""
+from typing import Any
+
from curl_cffi import requests
from ratelimit import limits, sleep_and_retry
from tenacity import retry, stop_after_attempt, wait_exponential
@@ -35,7 +37,7 @@ class Client:
@sleep_and_retry
@limits(calls=10, period=1)
@retry(stop=stop_after_attempt(3), wait=wait_exponential(), reraise=True)
- def get(self, url: str, **kwargs) -> requests.Response:
+ def get(self, url: str, **kwargs: Any) -> requests.Response:
"""Make a rate-limited GET request with automatic retries.
Args:
@@ -59,7 +61,7 @@ class Client:
@sleep_and_retry
@limits(calls=10, period=1)
@retry(stop=stop_after_attempt(3), wait=wait_exponential(), reraise=True)
- def post(self, url: str, **kwargs) -> requests.Response:
+ def post(self, url: str, **kwargs: Any) -> requests.Response:
"""Make a rate-limited POST request with automatic retries.
Args:
diff --git a/uv.lock b/uv.lock
index 42cfe74..8582397 100644
--- a/uv.lock
+++ b/uv.lock
@@ -567,7 +567,7 @@ wheels = [
[[package]]
name = "flights"
-version = "0.5.0"
+version = "0.6.0"
source = { editable = "." }
dependencies = [
{ name = "curl-cffi" },