Skip to content

Fix null byte error in cli_tools_click.py #70

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShyamSathish005
Copy link

Fixes #69

Resolve the syntax error 'source code string cannot contain null bytes' in src/google/adk/cli/cli_tools_click.py.

  • Remove null byte:

    • Remove null byte from the source code string in the main function.
    • Ensure the import process completes successfully without any syntax errors.
  • Update docstrings:

    • Correct and reformat docstrings for cli_run, eval, web, api_server, and cloud_run functions to remove null bytes and improve readability.
  • Reformat code:

    • Reformat code blocks to ensure proper indentation and alignment.
    • Reformat import statements within the eval function to ensure proper module imports.

Fixes google#69

Resolve the syntax error 'source code string cannot contain null bytes' in `src/google/adk/cli/cli_tools_click.py`.

* **Remove null byte**:
  - Remove null byte from the source code string in the `main` function.
  - Ensure the import process completes successfully without any syntax errors.

* **Update docstrings**:
  - Correct and reformat docstrings for `cli_run`, `eval`, `web`, `api_server`, and `cloud_run` functions to remove null bytes and improve readability.

* **Reformat code**:
  - Reformat code blocks to ensure proper indentation and alignment.
  - Reformat import statements within the `eval` function to ensure proper module imports.
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.

source code string cannot contain null bytes
1 participant