class_docstr: A mutable uploaded file.
  
  This class extends BytesIO, which has copy-on-write semantics when
  initialized with `bytes`.
class_docstr_tok: ["A","mutable","uploaded","file",".","This","class","extends","BytesIO",",","which","has","copy-on-write","semantics","when","initialized","with","`","bytes","`","."]
code: def __eq__(self, other: object) -> bool:
      if not isinstance(other, UploadedFile):
          return NotImplemented
      return self.file_id == other.file_id
  
imports: import io
  from abc import abstractmethod
  from typing import List, NamedTuple, Sequence
  from typing_extensions import Protocol
  from streamlit import util
  from streamlit.proto.Common_pb2 import FileURLs
  from streamlit.runtime.stats import CacheStatsProvider
label_desc: Use image node_id 2 for calling the UploadedFile obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, NotImplemented