When creating a python extension in VS Code, the following code is automatically generated inside query():
for endpoint in self.activation_config["endpoints"]:
url = endpoint["url"]
user = endpoint["user"]
password = endpoint["password"]
self.logger.debug(f"Running endpoint with url '{url}'")
The error you are getting is because of the second line above. You have to tweak the code. But, as @david_lopes , you shouldn’t be getting that error when dealing with a SQL datasource extension.
If you are migrating from custom.db.query, use the “custom extensions creator” app