zilto commented on issue #1309: URL: https://github.com/apache/hamilton/issues/1309#issuecomment-2892070537
Also, I couldn't find the lines that triggers the reported anywhere in the
Hamilton codebase.
> ```py
> │ /private/tmp/test/.venv/bin/hamilton:8 in <module>
│
> │
│
> │ 5 from hamilton.cli.__main__ import cli
│
> │ 6 if __name__ == "__main__":
│
> │ 7 │ sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
│
> │ ❱ 8 │ sys.exit(cli())
> ```
It seems that you're trying to invoke the CLI via Python. If this access
pattern isn't supported, the issue is outside the Hamilton repo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
