Giter Site home page Giter Site logo

gino-aiohttp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gino-aiohttp's Issues

Prod docker-compose example does not work

Expected Behavior

Run the example aiohttp application

Actual Behavior

docker compose cannot start service ''migration''

Steps to Reproduce the Problem

  1. Git clone repo
  2. run docker-compose build from prod example
  3. get error
ERROR: Service 'migration' failed to build: The command '/bin/sh -c python -m venv /env && . /env/bin/activate && poetry install' returned a non-zero code: 1

Specifications

  • MacOs version: 10.15.4
  • Docker desktop version: 2.3.0.2
  • other python libs -> from repo

Bump dependencies

Hey. I have recently looked at some Gino extensions and noticed that this extension requires some dependencies to be bumped. At least two (#37 and #34) are security related, and it might also be worth to look at the other merge requests by Dependabot.

Config retry_limit does not work.

Expected Behavior

When specifying a retry_limit (as seen in the code https://github.com/python-gino/gino-aiohttp/blob/master/src/gino_aiohttp.py#L152), I'm expecting the code to exit after x retries.

Actual Behavior

The amount of retries is never incremented, thus the retries will always stay at 0, meaning it'll never get out of the "trying to connect" loop.

Steps to Reproduce the Problem

  1. Use the following config:
app["config"] = {
    "gino": {
        "dsn": "postgres://username:[email protected]:5432/db",
        "retry_limit": 3,
    },
  1. Run the common usage
  2. Expected result; raise an exception after 3 connection retries

Specifications

  • Python version: 3.8
  • GINO version: 1.0.0
  • gino-aiohttp version: 0.1.0
  • aiohttp version: 3.6.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.