MCPcopy Index your code
hub / github.com/dataease/SQLBot / to_dict

Method to_dict

backend/apps/datasource/models/datasource.py:126–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 ssl: bool = False
125
126 def to_dict(self):
127 return {
128 "host": self.host,
129 "port": self.port,
130 "username": self.username,
131 "password": self.password,
132 "database": self.database,
133 "driver": self.driver,
134 "extraJdbc": self.extraJdbc,
135 "dbSchema": self.dbSchema,
136 "filename": self.filename,
137 "sheets": self.sheets,
138 "mode": self.mode,
139 "timeout": self.timeout,
140 "lowVersion": self.lowVersion,
141 "ssl": self.ssl
142 }
143
144
145class TableSchema:

Callers 2

parse_excel_previewFunction · 0.45
upload_ds_schemaFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected