Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Refactor/decouple functools (#61)
Browse files Browse the repository at this point in the history
* Refactor: functools by aiofunctools external lib

* Release 0.3.0
  • Loading branch information
pando85 committed Feb 2, 2019
1 parent bf1cabd commit 0880fd1
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 170 deletions.
2 changes: 1 addition & 1 deletion aiolambda/__init__.py
@@ -1 +1 @@
__version__ = '0.2.21'
__version__ = '0.3.0'
60 changes: 0 additions & 60 deletions aiolambda/functools.py

This file was deleted.

2 changes: 1 addition & 1 deletion aiolambda_cli/path.py
@@ -1,7 +1,7 @@
from aiofunctools import compose
from pathlib import Path
from toolz import curry

from aiolambda.functools import compose

MARKER_PROJECT_NAME = '__PROJECT_NAME__'

Expand Down
2 changes: 1 addition & 1 deletion aiolambda_cli/templates/__PROJECT_NAME__/handlers.py.j2
@@ -1,7 +1,7 @@
from aiofunctools import compose
from aiohttp.web import Response

from aiolambda import logger
from aiolambda.functools import compose

from {{ project_name }}.response import return_200

Expand Down
2 changes: 1 addition & 1 deletion examples/jwt/jwt/handlers.py
@@ -1,7 +1,7 @@
from aiofunctools import compose
from aiohttp.web import Response

from aiolambda import logger
from aiolambda.functools import compose

from jwt.response import return_200
from jwt.jwt import generate_token
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
@@ -1,3 +1,4 @@
aiofunctools==0.0.1
asyncpg==0.18.2
cchardet==2.1.4
passlib==1.7.1
Expand Down
2 changes: 1 addition & 1 deletion test/test_errors.py
@@ -1,9 +1,9 @@
import inspect

from aiofunctools import compose
from toolz import curry

import aiolambda.errors
from aiolambda.functools import compose


def test_all_errors_are_exceptions():
Expand Down
105 changes: 0 additions & 105 deletions test/test_functools.py

This file was deleted.

0 comments on commit 0880fd1

Please sign in to comment.