Skip to content

Conversation

@javadghane
Copy link

No description provided.

javadghane and others added 5 commits October 24, 2025 18:03
…to-pgmq-y2hiz9

Add Swagger specification for REST API
- Convert test_api.py from pytest to unittest to fix ModuleNotFoundError
- Replace pytest.importorskip() with unittest.skipIf decorator
- Convert test functions to unittest.TestCase methods
- Remove unused FastAPI import from __init__.py that was causing lint error
@gemini-code-assist
Copy link

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@tavallaie tavallaie changed the title Claude/fix pytest import error 011 c ur6 dr vc djs f9g jd n qmy r Claude/fix pytest import error Nov 6, 2025
return _create_app(queue=queue)


__all__ = ["Message", "PGMQueue", "transaction", "async_transaction", "create_app"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to use try/exception and show some error if FastAPI is not installed

@tavallaie
Copy link
Collaborator

Also, If you commit in this branch, automatically it will be added to this PR, so you don't need to close your last PR and make new one.

@tavallaie
Copy link
Collaborator

@javadghane Test failed, you can see the log yourself but if you need any help, feel free to ask!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants