original_docstring: Return dictionary of record schema.
  
          Dynamically detect the json schema for the stream.
          This is evaluated prior to any records being retrieved.
          
docstring: Return dictionary of record schema.
  Dynamically detect the json schema for the stream.
  This is evaluated prior to any records being retrieved.
docstring_tokens: Return dictionary of record schema . Dynamically detect the json schema for the stream . This is evaluated prior to any records being retrieved .
code: def schema(self) -> dict:
          """Return dictionary of record schema.
  
          Dynamically detect the json schema for the stream.
          This is evaluated prior to any records being retrieved.
          """
          properties: List[th.Property] = []
          self.primary_keys = self.file_config.get("keys", [])
  
          for file_path in self.get_file_paths():
              for header in self.get_rows(file_path):
                  break
              break
  
          for column in header:
              # Set all types to string
              # TODO: Try to be smarter about inferring types.
              properties.append(th.Property(column, th.StringType()))
          return th.PropertiesList(*properties).to_dict()
code_tokens: def schema ( self ) -> dict : properties : List [ th . Property ] = [ ] self . primary_keys = self . file_config . get ( "keys" , [ ] ) for file_path in self . get_file_paths ( ) : for header in self . get_rows ( file_path ) : break break for column in header : properties . append ( th . Property ( column , th . StringType ( ) ) ) return th . PropertiesList ( * properties ) . to_dict ( )
short_docstring: Return dictionary of record schema.
short_docstring_tokens: Return dictionary of record schema .
comment: """Return dictionary of record schema.
  
          Dynamically detect the json schema for the stream.
          This is evaluated prior to any records being retrieved.
          """$SEP$# Set all types to string$SEP$# TODO: Try to be smarter about inferring types.