Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed May 27, 2022
1 parent c30d05c commit fd14a6f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions src/maggma/stores/advanced_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,12 @@ def groupby(
lazy_substitute(criteria, self.reverse_aliases)

return self.store.groupby(
keys=keys, properties=properties, criteria=criteria, skip=skip, limit=limit, sort=sort,
keys=keys,
properties=properties,
criteria=criteria,
skip=skip,
limit=limit,
sort=sort,
)

def update(self, docs: Union[List[Dict], Dict], key: Union[List, str, None] = None):
Expand Down Expand Up @@ -502,7 +507,12 @@ def groupby(
)

return self.store.groupby(
keys=keys, properties=properties, criteria=criteria, skip=skip, limit=limit, sort=sort
keys=keys,
properties=properties,
criteria=criteria,
skip=skip,
limit=limit,
sort=sort,
)

def update(self, docs: Union[List[Dict], Dict], key: Union[List, str, None] = None):
Expand Down
2 changes: 1 addition & 1 deletion src/maggma/stores/mongolike.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from pathlib import Path
import yaml
from itertools import chain, groupby
from itertools import chain
from socket import socket
import warnings
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
Expand Down

0 comments on commit fd14a6f

Please sign in to comment.