code: def get_sidecar_nodes(self) -> Iterator[PostSidecarNode]:
          
          if self.typename == 'GraphSidecar':
              for edge in self._field('edge_sidecar_to_children', 'edges'):
                  node = edge['node']
                  is_video = node['is_video']
                  yield PostSidecarNode(is_video=is_video, display_url=node['display_url'],
                                        video_url=node['video_url'] if is_video else None)
docs: Sidecar nodes of a Post with typename==GraphSidecar.