mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 13:33:42 +00:00
Fix handling of empty keys in query
This commit is contained in:
parent
ec0436d0da
commit
36b9ab0453
@ -4,11 +4,13 @@ from itertools import groupby, chain
|
||||
from typing import Sequence, Dict, Callable, Tuple, Any, Type
|
||||
|
||||
import dpath.path
|
||||
import dpath.options
|
||||
|
||||
from apiserver.apierrors import errors
|
||||
from apiserver.database.props import PropsMixin
|
||||
|
||||
SEP = "."
|
||||
dpath.options.ALLOW_EMPTY_STRING_KEYS = True
|
||||
|
||||
|
||||
def project_dict(data, projection, separator=SEP):
|
||||
|
Loading…
Reference in New Issue
Block a user