original_docstring: Builds the header and the root of th CSDL file.
docstring: Builds the header and the root of th CSDL file.
docstring_tokens: Builds the header and the root of th CSDL file .
code: def init_csdl(self):
          """Builds the header and the root of th CSDL file."""
          # self.csdl = etree.Element("Edmx", nsmap={"edmx":"http://docs.oasis-open.org/odata/ns/edmx"}, attrib={"Version": "4.0"})#etree.XML(CSDL_HEADER_TEMPLATE.format(self.name))
          self.main_csdl, self.csdl, _services = xml_convenience.create_xml_base(self.name.split('.')[0])
          self.entity = etree.Element('EntityType', {
              'Name': self.name.split('.')[0],
              'BaseType': '.'.join([self.name.split('.')[0]]*2)
          })
          self.csdl.append(self.entity)
code_tokens: def init_csdl ( self ) : self . main_csdl , self . csdl , _services = xml_convenience . create_xml_base ( self . name . split ( '.' ) [ 0 ] ) self . entity = etree . Element ( 'EntityType' , { 'Name' : self . name . split ( '.' ) [ 0 ] , 'BaseType' : '.' . join ( [ self . name . split ( '.' ) [ 0 ] ] * 2 ) } ) self . csdl . append ( self . entity )
short_docstring: Builds the header and the root of th CSDL file.
short_docstring_tokens: Builds the header and the root of th CSDL file .
comment: """Builds the header and the root of th CSDL file."""$SEP$# self.csdl = etree.Element("Edmx", nsmap={"edmx":"http://docs.oasis-open.org/odata/ns/edmx"}, attrib={"Version": "4.0"})#etree.XML(CSDL_HEADER_TEMPLATE.format(self.name))