Browse Source

[EmFieldGroup] Update of the docstrings for the create method

Roland Haroutiounian 9 years ago
parent
commit
67707c6734
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      EditorialModel/fieldgroups.py

+ 1
- 3
EditorialModel/fieldgroups.py View File

@@ -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):

Loading…
Cancel
Save