|
@@ -30,9 +30,7 @@ class EmFieldGroup(EmComponent):
|
30
|
30
|
## Create a new EmFieldGroup
|
31
|
31
|
#
|
32
|
32
|
# Save it in database and return an instance*
|
33
|
|
- # @param name str: The name of the new EmFieldGroup
|
34
|
|
- # @param em_class EmClass : An EditorialModel::classes::EmClass instance
|
35
|
|
- # @param **em_component_args : @ref EditorialModel::components::create()
|
|
33
|
+ # @param **em_component_args : @ref EditorialModel::components::create(), must contain fields "name" (str) and "class" (EmClass)
|
36
|
34
|
# @throw EmComponentExistError If an EmFieldGroup with this name allready exists
|
37
|
35
|
# @throw TypeError If an argument is of an unexepted type
|
38
|
36
|
def create(cls, **em_component_args):
|