Beispiel #1
0
 def __repr__(self):
     return repr_helper(
         self,
         self.fn,
         stack_frame=Omitted if self.stack_frame else None,
         defaults={"stack_frame": None},
     )
Beispiel #2
0
 def __repr__(self):
     return repr_helper(
         self,
         name=self.name,
         path=self.path,
         line=self.line,
         outer=Omitted if self.outer else None,
         defaults={"outer": None},
     )
Beispiel #3
0
 def __repr__(self):
     return repr_helper(
         self,
         self.value,
         modified_time=self.modified_time.isoformat()
         if self.modified_time else None,
         can_read=self.can_read,
         can_write=self.can_write,
         read_count=self.read_count,
         write_count=self.write_count,
         defaults={
             0: Missing,
             "modified_time": None,
             "can_read": True,
             "can_write": True,
             "read_count": 0,
             "write_count": 0,
         },
     )
Beispiel #4
0
 def __repr__(self):
     return repr_helper(
         self,
         self.value,
         self.modified_time.isoformat() if self.modified_time else None,
     )
Beispiel #5
0
 def __repr__(self):
     return repr_helper(self, self.create_store)
Beispiel #6
0
 def __repr__(self):
     return repr_helper(
         self, self.path, encoding=self.encoding, defaults={"encoding": None}
     )
Beispiel #7
0
 def __repr__(self):
     return repr_helper(self, self.path)
Beispiel #8
0
 def __repr__(self):
     return repr_helper(self)
Beispiel #9
0
 def __repr__(self):
     return repr_helper(self, self.value)
Beispiel #10
0
 def __repr__(self):
     return repr_helper(self, self.name, self.index)
Beispiel #11
0
 def __repr__(self):
     return repr_helper(self,
                        self.path,
                        required=self.required,
                        defaults={"required": True})