发布

  • Add checks for custom action type annotations (#926)

    frostbyte_neo 发布于 2024-11-28 11:38:15 +00:00

    Important

    Adds a check for missing type annotations in
    _build_executable_from_args and a corresponding test in
    test_runtime.py.

    • Behavior:
    • Adds a check in _build_executable_from_args in runtime.py to
      raise InvalidRuntimeAction if any function argument is missing a type
      annotation.
      • Tests:
    • Adds test_untyped_param in test_runtime.py to verify that
      InvalidRuntimeAction is raised for missing type annotations in
      function arguments.

    This description was created by Ellipsis
    for 435d9061a2ec377b9ad32ccf4a13c3828e331d4e. It will automatically
    update as commits are pushed.

    Co-authored-by: tushar-composio tushar@composio.dev

    下载附件