def create_write_requests(self, instance: Dict[(str, Any)]) -> Iterable[WriteRequest]:
    json_data = instance['data']
    write_requests = []
    for collection in json_data:
        for entry in json_data[collection].values():
            fqid = FullQualifiedId(Collection(collection), entry['id'])
            write_requests.append(self.build_write_request(EventType.Create, fqid, 'initial import', entry))
    return write_requests
def create_write_requests(self, instance: Dict[(str, Any)]) -> Iterable[WriteRequest]:
    json_data = instance['data']
    write_requests = []
    for collection in json_data:
        for entry in json_data[collection].values():
            fqid = FullQualifiedId(Collection(collection), entry['id'])
            write_requests.append(self.build_write_request(EventType.Create, fqid, 'initial import', entry))
    return write_requests