Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BFCL] Overhaul apply_function_credential_config.py for Enhanced Usability #508

Merged
merged 13 commits into from
Jul 17, 2024

Conversation

HuanzhiMao
Copy link
Collaborator

@HuanzhiMao HuanzhiMao commented Jul 7, 2024

Currently, the apply_function_credential_config.py requires the user to manually provide the input file path and it only takes one single file path at a time, which is very cumbersome and user-unfriendly, considering that the user must do this 14 times for each of the test dataset files.

This PR refactors the script to improve its usability:

  1. The script no longer requires an input file path. It automatically searches for datasets in the default ./data/ directory.
  2. The script now can process all files within the specified location (when --input-path is set to a directory path), thereby supporting bulk operations.
  3. Single file path input is still supported.

This PR partially addresses #501 and #502.

Copy link
Collaborator

@CharlieJCJ CharlieJCJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,

Comment: some minor cleanup.

@ShishirPatil ShishirPatil merged commit 16af6c8 into ShishirPatil:main Jul 17, 2024
@HuanzhiMao HuanzhiMao deleted the credential branch July 17, 2024 23:27
aw632 pushed a commit to vinaybagade/gorilla that referenced this pull request Aug 22, 2024
…ility (ShishirPatil#508)

Currently, the `apply_function_credential_config.py` requires the user
to manually provide the input file path and it only takes one single
file path at a time, which is very cumbersome and user-unfriendly,
considering that the user must do this 14 times for each of the test
dataset files.

This PR refactors the script to improve its usability:

1. The script no longer requires an input file path. It automatically
searches for datasets in the default `./data/` directory.
2. The script now can process all files within the specified location
(when `--input-path` is set to a directory path), thereby supporting
bulk operations.
3. Single file path input is still supported. 

This PR partially addresses ShishirPatil#501 and ShishirPatil#502.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants