Do you mean the above syntax is just a wrapper for
WriteRelationshipsRequest(
updates=[
RelationshipUpdate(
operation=RelationshipUpdate.Operation.OPERATION_CREATE,
relationship=Relationship(
resource=ObjectReference(object_type="blog/post", object_id="1"),
relation="writer",
subject=SubjectReference(
object=ObjectReference(
object_type="blog/user",
object_id="emilia",
)
),
),
)
])
that parses resource/subject arguments, extracts object_type/object_id from them and ultimately calls WriteRelationshipsRequest?