zilto commented on issue #1309:
URL: https://github.com/apache/hamilton/issues/1309#issuecomment-2892148864

   The `hamilton` entrypoint is in `pyproject.toml` inside the 
`project.entry-points.console_scripts` section. This adds a `hamilton` 
executable inside the environment when doing `pip install sf-hamilton`. This is 
where the Python invocation come from. Mystery solved!
   
   The `hamilton` CLI has the additional dependency `typer`, which is available 
through `sf-hamilton[cli]`. [This 
file](https://github.com/apache/hamilton/blob/main/hamilton/cli/__main__.py) 
should raise an exception if we fail to import `typer`. 
   
   As far as I remember, it used to have a meaningful exception by default 
instead of
   ```shell
   TypeError: Parameter.make_metavar() missing 1 required positional argument: 
'ctx'
   ``` 


-- 
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]

Reply via email to