Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 66e8e06

Browse files
Luke MoehlenbrockLuke Moehlenbrock
authored andcommitted
Added client to function args instead of api key
1 parent 84804c2 commit 66e8e06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelpandas/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
self.lb_client = labelboxClient(lb_api_key, endpoint=lb_endpoint, enable_experimental=lb_enable_experimental, app_url=lb_app_url)
2626

2727
def export_to_table(
28-
self, project, lb_api_key,
28+
self, project,
2929
include_metadata:bool=False, include_performance:bool=False, include_agreement:bool=False,
3030
verbose:bool=False, mask_method:str="png", divider="///"):
3131
""" Creates a Pandas DataFrame given a Labelbox Projet ID
@@ -45,7 +45,7 @@ def export_to_table(
4545
flattened_labels_dict = export_and_flatten_labels(
4646
client=self.lb_client, project=project, include_metadata=include_metadata,
4747
include_performance=include_performance, include_agreement=include_agreement,
48-
mask_method=mask_method, verbose=verbose, divider=divider, lb_api_key=lb_api_key
48+
mask_method=mask_method, verbose=verbose, divider=divider
4949
)
5050
# Convert to a Pandas DataFrame
5151
table = pd.DataFrame.from_dict(flattened_labels_dict)

0 commit comments

Comments
 (0)