def __init__(self, related_class=None, access=None, is_virtual=False):
if related_class:<EOL><INDENT>assert isinstance(related_class, class_t)<EOL><DEDENT>self._related_class = related_class<EOL>if access:<EOL><INDENT>assert access in ACCESS_TYPES.ALL<EOL><DEDENT>self._access = access<EOL>self._is_virtual = is_virtual<EOL>self._declaration_path = None<EOL>self._declaration_path_hash = None<EOL>
creates class that contains partial information about class
        relationship