ad_task's People
ad_task's Issues
Refactor the controller to use sqlalchemy Row object intead of the model.
To add groupping capability
Fields: date, channel, country, OS
Integrate sqlalchemy
Setup logging
Prepare release
-
Readme: installation, migrations, launch. Maybe some sidenotes. Contact.
requiredpip
version >= 23
alembic upgrade head
python ./src/adjust_task/
Works both on linux and windows. -
Check installation -
Removeclass Service
. Check the other object naming. Rename the model? -
Recheck session creation -
Erase project name from the source code. -
Manually recheck api. Check swagger docs.
-
rename repo -
check on linux
Use migrations to create a test db
Pass the session into the service directly.
Refactor work with db queries in the root controller
Replace sqlite with postgresql
Refactoring: move the main business-logic into a service
General system configuration
To add filtering capability
Filtering fields are: date from and to, channels, countries, OS
Refactor the gateway's querying logic.
It may require a layer of custom exceptions
Async migrations?
Refactoring. Move querying logic from specifications to a gateway
Asynchronous controllers and dependencies
To lowercase incoming strings
The API should work for us
, US
, Us
and etc.
Create package structure.
Rename plural incoming fields to singular
To add sorting
Both descending and ascending
Use a model for incoming parameters
API must return dynamic field: CPI
cpi = spend / installs
Asynchronous tests
Rework sorting - add new query string field.
Setup for web part of the project
DB should get intialized by an alembic migration instead of sqlalchemy's `create_all`
Set decimal precision
Integrate sqlite
Asynchronous DB driver
Use aiosqlite
for sqlite3
Close session in a factory
A database session should be closed at the same place where it was opened.
Use poetry to manage dependencies
Add sqlite wal
Documentation
Tests and API should have separate configuration stages
Asynchronous application server
Integrate locust load tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.