@utilities.arguments_not_none<EOL><INDENT>def get_relationship_form_for_create(self, source_id, destination_id, relationship_record_types):<DEDENT>
<EOL>from dlkit.abstract_osid.id.primitives import Id as ABCId<EOL>from dlkit.abstract_osid.type.primitives import Type as ABCType<EOL>if not isinstance(source_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if not isinstance(destination_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>for arg in relationship_record_types:<EOL><INDENT>if not isinstance(arg, ABCType):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT><DEDENT>if relationship_record_types == []:<EOL><INDENT>obj_form = objects.RelationshipForm(<EOL>family_id=self._catalog_id,<EOL>source_id=source_id,<EOL>destination_id=destination_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>else:<EOL><INDENT>obj_form = objects.RelationshipForm(<EOL>family_id=self._catalog_id,<EOL>record_types=relationship_record_types,<EOL>source_id=source_id,<EOL>destination_id=destination_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>obj_form._for_update = False<EOL>self._forms[obj_form.get_id().get_identifier()] = not CREATED<EOL>return obj_form<EOL>
Gets the relationship form for creating new relationships.

        A new form should be requested for each create transaction.

        arg:    source_id (osid.id.Id): ``Id`` of a peer
        arg:    destination_id (osid.id.Id): ``Id`` of the related peer
        arg:    relationship_record_types (osid.type.Type[]): array of
                relationship record types
        return: (osid.relationship.RelationshipForm) - the relationship
                form
        raise:  NotFound - ``source_id`` or ``destination_id`` is not
                found
        raise:  NullArgument - ``source_id`` or ``destination_id`` is
                ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - unable to get form for requested recod
                types
        *compliance: mandatory -- This method must be implemented.*