Datasets:

ArXiv:
Elron commited on
Commit
2e29d8d
1 Parent(s): 819c6db

Upload data.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. data.py +2 -0
data.py CHANGED
@@ -8,6 +8,7 @@ from .card import __file__ as _
8
  from .catalog import __file__ as _
9
  from .collections import __file__ as _
10
  from .common import __file__ as _
 
11
  from .file_utils import __file__ as _
12
  from .fusion import __file__ as _
13
  from .generator_utils import __file__ as _
@@ -46,6 +47,7 @@ def parse(query: str):
46
  """
47
  Parses a query of the form 'key1=value1,key2=value2,...' into a dictionary.
48
  """
 
49
  result = {}
50
  for kv in query.split(","):
51
  parts = kv.split("=")
 
8
  from .catalog import __file__ as _
9
  from .collections import __file__ as _
10
  from .common import __file__ as _
11
+ from .dataclass import __file__ as _
12
  from .file_utils import __file__ as _
13
  from .fusion import __file__ as _
14
  from .generator_utils import __file__ as _
 
47
  """
48
  Parses a query of the form 'key1=value1,key2=value2,...' into a dictionary.
49
  """
50
+ query = query.replace("@", "::")
51
  result = {}
52
  for kv in query.split(","):
53
  parts = kv.split("=")