splor-mg / dpm

Data Package Manager
0 stars 0 forks source link

Instalação da dependência incorreta do typer #48

Closed fjuniorr closed 1 year ago

fjuniorr commented 1 year ago

O dpm precisa da versão 0.9.0 do typer mas a versão 0.7.0 estava sendo instalada

dpm install
Traceback (most recent call last):
  File "/Users/fjunior/Projects/splor/spreadmart/venv/bin/dpm", line 5, in <module>
    from dpm.cli import app
  File "/Users/fjunior/Projects/splor/dpm/src/dpm/cli.py", line 24, in <module>
    def install(descriptor: Annotated[Path, typer.Argument()] = Path('data.toml'),
                                            ^^^^^^^^^^^^^^^^
TypeError: Argument() missing 1 required positional argument: 'default'