PythonNest / PyNest

PyNest is a Python framework built on top of FastAPI that follows the modular architecture of NestJS
https://pythonnest.github.io/PyNest
MIT License
737 stars 50 forks source link

FastAPI App **kwargs not recognized #28

Closed JEub closed 9 months ago

JEub commented 9 months ago

When attempting to initialize the App with a title, version, etc. the options fail to pass through to the parent class.

Changing the example code in app.py to:

app = App(
    description="PyNest service",
    modules=[
        ExamplesModule,
    ],
    title="PyNest Example",
)

The code returns an error:

TypeError: App.__init__() got an unexpected keyword argument 'title'

JEub commented 9 months ago

Correction ** This is resolved on the source code which has not been pushed to PyPI.

JEub commented 9 months ago

At what point will new versions of this package be pushed to PyPI?

ItayTheDar commented 9 months ago

Hey @JEub, a new version should be released in next week. I'll make sure that this issue will be fixed.

ItayTheDar commented 9 months ago

@JEub Thank you for raisin this issue! the fix is now available in version 0.1.1.