Skip to content

Commit

Permalink
chore: expand pandas version range (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas1312 committed Jun 1, 2023
1 parent cbe2366 commit 218ee0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from src.kili import __version__

install_requires = [
"pandas>=1.0.0,<2.0.0",
"pandas>=1.0.0,<3.0.0",
"click>=8.0.0,<9.0.0",
"requests>=2.0.0,<3.0.0",
"tabulate>=0.9.0,<0.10.0",
Expand Down
3 changes: 1 addition & 2 deletions src/kili/entrypoints/queries/asset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,7 @@ def assets(
Date strings should have format: "YYYY-MM-DD"
Returns:
A result object which contains the query if it was successful,
or an error message.
An asset list, an asset generator or a pandas DataFrame that match a set of constraints.
Example:
```
Expand Down
3 changes: 1 addition & 2 deletions src/kili/entrypoints/queries/label/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,8 @@ def export_labels_as_df(
See [the documentation](https://docs.kili-technology.com/reference/graphql-api#asset) for all possible fields.
Returns:
pandas DataFrame containing the labels.
A pandas DataFrame containing the labels.
"""

services.get_project(self.auth, project_id, ["id"])
assets_gen = AssetQuery(self.auth.client)(
AssetWhere(project_id=project_id),
Expand Down

0 comments on commit 218ee0b

Please sign in to comment.