Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Jun 2, 2021
1 parent 6dd25ab commit 42190ad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mp_api/routes/_consumer/query_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ class UserSettingsPostQuery(QueryOperator):
"""Query operators to provide user settings information to post"""

def query(
self, consumer_id: str = Query(..., title="Consumer ID",), settings: Dict = Body(..., title="User settings",),
self,
consumer_id: str = Query(..., title="Consumer ID",),
settings: Dict = Body(..., title="User settings",),
) -> STORE_PARAMS:

self.cid = consumer_id
Expand All @@ -28,7 +30,9 @@ def post_process(self, written):
class UserSettingsGetQuery(QueryOperator):
"""Query operators to provide user settings information"""

def query(self, consumer_id: str = Query(..., title="Consumer ID",),) -> STORE_PARAMS:
def query(
self, consumer_id: str = Query(..., title="Consumer ID",),
) -> STORE_PARAMS:

crit = {"consumer_id": consumer_id}

Expand Down

0 comments on commit 42190ad

Please sign in to comment.