Code Monkey home page Code Monkey logo

aiohttp_boilerplate's People

Contributors

darland avatar goginet avatar vladyslav2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aiohttp_boilerplate's Issues

Error Missing parameters {}

2018-10-09 15:30:33,387 ERROR Task exception was never retrieved
future: <Task finished coro=<worker_check_payments() done, defined at /Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/console/northcapital.py:197> exception=SQLException('Missing parameters {Pending,Submitted}')>
Traceback (most recent call last):
  File "/Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/console/northcapital.py", line 203, in worker_check_payments
    for x in await Investment.get_ach_pending():
  File "/Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/console/models.py", line 32, in get_ach_pending
    where="payment_data->>'method' = 'ACH' and created_date >  NOW() - INTERVAL '1 month' and status >= 20 and "
  File "/Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/aiohttp_boilerplate/models/__init__.py", line 130, in select
    params=params, many=self.is_list)
  File "/Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/aiohttp_boilerplate/sql/__init__.py", line 98, in select
    self.query += ' where {}'.format(self.prepare_where(where, params))
  File "/Users/arti/Desktop/projects/webdeveloppro/acretrader/northcapital/aiohttp_boilerplate/sql/__init__.py", line 49, in prepare_where
    raise SQLException('Missing parameters {}'.format(','.join(missing_params)))
aiohttp_boilerplate.sql.SQLException: Missing parameters {Pending,Submitted}

But in postgresql format like '{{1,2,3},{4,5,6},{7,8,9}}' using as array constant.

Error

asyncpg

invalid input for query argument $2: {'as': 'asdas123'} (expected str, got dict)

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.