original_docstring: 
      @return compiled code that constructs a new Schema object given @schema
      
docstring: @return compiled code that constructs a new Schema object given @schema
docstring_tokens: @return compiled code that constructs a new Schema object given @schema
code: def codegen_schema(self, schema):
      """
      @return compiled code that constructs a new Schema object given @schema
      """
      def codegen_attr(attr):
        attrs_to_keep = ["typ", "tablename"]
        args = ["'%s'" % attr.aname]
        for key in attrs_to_keep:
          val = attr.__dict__[key]
          if isinstance(val, str):
            args.append("'%s'" % val)
          else:
            args.append(str(val))
        return "Attr(%s)" % ", ".join(args)
  
      attrs = ",".join(map(codegen_attr, schema.attrs))
      return "Schema([%s])" % attrs
code_tokens: def codegen_schema ( self , schema ) : def codegen_attr ( attr ) : attrs_to_keep = [ "typ" , "tablename" ] args = [ "'%s'" % attr . aname ] for key in attrs_to_keep : val = attr . __dict__ [ key ] if isinstance ( val , str ) : args . append ( "'%s'" % val ) else : args . append ( str ( val ) ) return "Attr(%s)" % ", " . join ( args ) attrs = "," . join ( map ( codegen_attr , schema . attrs ) ) return "Schema([%s])" % attrs
short_docstring: @return compiled code that constructs a new Schema object given @schema
short_docstring_tokens: @return compiled code that constructs a new Schema object given @schema
comment: """
      @return compiled code that constructs a new Schema object given @schema
      """