@geode/opengeodeweb-microservice 1.0.9-rc.1 → 1.0.9-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generate_schemas.js +1 -1
- package/package.json +1 -1
package/generate_schemas.js
CHANGED
|
@@ -117,7 +117,7 @@ function return_json_schema(directoryPath, folder_path, projectName) {
|
|
|
117
117
|
jsonTypes.join("\n");
|
|
118
118
|
pythonContent = pythonContent.replace(
|
|
119
119
|
/@dataclass\nclass (\w+)(?:\s*\([^)]*\))?\s*:/g,
|
|
120
|
-
"@dataclass\nclass $1(DataClassJsonMixin):\n def __post_init__(self):\n print(self, flush=True)\n"
|
|
120
|
+
"@dataclass\nclass $1(DataClassJsonMixin):\n def __post_init__(self) -> None:\n print(self, flush=True)\n"
|
|
121
121
|
);
|
|
122
122
|
const pythonFile = path.join(folder.path, filename + ".py");
|
|
123
123
|
const initFile = path.join(folder.path, "__init__.py");
|
package/package.json
CHANGED