Skip to content
Snippets Groups Projects
Commit 136c4ecc3d68 authored by Brendan Masson's avatar Brendan Masson
Browse files

Fix README formatting, typos

parent 9c11356ed99b
No related branches found
No related tags found
No related merge requests found
...@@ -181,4 +181,5 @@ ...@@ -181,4 +181,5 @@
Each entry is key-value pair of a dict where the key is a (prefix, suffix) tuple and the value a dict containing the following: Each entry is key-value pair of a dict where the key is a (prefix, suffix) tuple and the value a dict containing the following:
``model`` the name of the referenced dimension model (doesn't do anything special) ``model`` the name of the referenced dimension model (doesn't do anything special)
``type`` a field class, the field type to use ``type`` a field class, the field type to use
...@@ -184,2 +185,3 @@ ...@@ -184,2 +185,3 @@
``type`` a field class, the field type to use ``type`` a field class, the field type to use
``default`` default value for the fields ``default`` default value for the fields
...@@ -185,2 +187,3 @@ ...@@ -185,2 +187,3 @@
``default`` default value for the fields ``default`` default value for the fields
``args`` list of arguments to inject in ``type`` constructor ``args`` list of arguments to inject in ``type`` constructor
...@@ -186,4 +189,5 @@ ...@@ -186,4 +189,5 @@
``args`` list of arguments to inject in ``type`` constructor ``args`` list of arguments to inject in ``type`` constructor
``kwargs`` dict of keyword arguments to inject in ``type`` constructor. ``kwargs`` dict of keyword arguments to inject in ``type`` constructor.
Here is declaration that will create fields with the names ``a1_b``, ``a2_b``, ``a3_b``, ... Here is declaration that will create fields with the names ``a1_b``, ``a2_b``, ``a3_b``, ...
...@@ -202,7 +206,7 @@ ...@@ -202,7 +206,7 @@
'default': True, 'default': True,
'args': ("field is optional"), 'args': ("field is optional"),
'kwargs': dict(required=True), 'kwargs': dict(required=True),
a,} }
} }
Validation hook for analytic fields Validation hook for analytic fields
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment