class_docstr: File is a class associated with a file saved by wandb.
  
  Attributes:
      name (string): filename
      url (string): path to file
      direct_url (string): path to file in the bucket
      md5 (string): md5 of file
      mimetype (string): mimetype of file
      updated_at (string): timestamp of last update
      size (int): size of file in bytes
class_docstr_tok: ["File","is","a","class","associated","with","a","file","saved","by","wandb",".","Attributes",":","name","(","string",")",":","filename","url","(","string",")",":","path","to","file","direct_url","(","string",")",":","path","to","file","in","the","bucket","md5","(","string",")",":","md5","of","file","mimetype","(","string",")",":","mimetype","of","file","updated_at","(","string",")",":","timestamp","of","last","update","size","(","int",")",":","size","of","file","in","bytes"]
code: def size(self):
      size_bytes = self._attrs["sizeBytes"]
      if size_bytes is not None:
          return int(size_bytes)
      return 0
  
imports: import io
  import os
  import requests
  from wandb_gql import gql
  from wandb_gql.client import RetryError
  import wandb
  from wandb import util
  from wandb.apis.attrs import Attrs
  from wandb.apis.normalize import normalize_exceptions
  from wandb.apis.paginator import Paginator
  from wandb.apis.public.const import RETRY_TIMEDELTA
  from wandb.sdk.lib import retry
label_desc: Use image node_id 2 for calling the File obj's underlying member method code with example usage: obj.size() and returns: int, int