@seamapi/nextlove-sdk-generator
Advanced tools
Comparing version 1.7.10 to 1.7.11
@@ -22,3 +22,3 @@ import axios from "axios"; | ||
import { deepFlattenOneOfAndAllOfSchema } from "../../lib/generate-php-sdk/utils/deep-flatten-one-of-and-all-of-schema.js"; | ||
import endpoints_returning_deprecated_action_attempt from "../../lib/endpoints-returning-deprecated-action-attempt.js"; | ||
import { endpoints_returning_deprecated_action_attempt, ignored_endpoint_paths, } from "../../lib/endpoint-rules.js"; | ||
export const generatePythonSDK = async () => { | ||
@@ -49,2 +49,4 @@ const openapi = await axios | ||
continue; | ||
if (ignored_endpoint_paths.includes(route.path)) | ||
continue; | ||
const group_names = [...route.post["x-fern-sdk-group-name"]]; | ||
@@ -51,0 +53,0 @@ const [base_resource] = group_names; |
@@ -6,3 +6,3 @@ export default () => `import os | ||
from importlib.metadata import version | ||
from typing import Optional, cast | ||
from typing import Optional, Union, Dict, cast | ||
from .types import AbstractSeam, SeamApiException | ||
@@ -26,3 +26,3 @@ | ||
api_url: Optional[str] = None, | ||
wait_for_action_attempt: Optional[bool] = False, | ||
wait_for_action_attempt: Optional[Union[bool, Dict[str, float]]] = False, | ||
): | ||
@@ -29,0 +29,0 @@ """ |
@@ -1,2 +0,2 @@ | ||
import endpoints_returning_deprecated_action_attempt from "../../lib/endpoints-returning-deprecated-action-attempt.js"; | ||
import { endpoints_returning_deprecated_action_attempt } from "../../lib/endpoint-rules.js"; | ||
export class RubyClient { | ||
@@ -3,0 +3,0 @@ constructor(pascal_name, snake_name, child_client_identifiers) { |
{ | ||
"name": "@seamapi/nextlove-sdk-generator", | ||
"version": "1.7.10", | ||
"version": "1.7.11", | ||
"description": "Utilities for building NextLove SDK Generators", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -23,3 +23,6 @@ import axios from "axios" | ||
import { deepFlattenOneOfAndAllOfSchema } from "lib/generate-php-sdk/utils/deep-flatten-one-of-and-all-of-schema.js" | ||
import endpoints_returning_deprecated_action_attempt from "lib/endpoints-returning-deprecated-action-attempt.js" | ||
import { | ||
endpoints_returning_deprecated_action_attempt, | ||
ignored_endpoint_paths, | ||
} from "lib/endpoint-rules.js" | ||
@@ -59,2 +62,4 @@ export const generatePythonSDK = async () => { | ||
if (!route.post["x-fern-sdk-group-name"]) continue | ||
if (ignored_endpoint_paths.includes(route.path)) continue | ||
const group_names = [...route.post["x-fern-sdk-group-name"]] | ||
@@ -61,0 +66,0 @@ const [base_resource] = group_names |
@@ -6,3 +6,3 @@ export default () => `import os | ||
from importlib.metadata import version | ||
from typing import Optional, cast | ||
from typing import Optional, Union, Dict, cast | ||
from .types import AbstractSeam, SeamApiException | ||
@@ -26,3 +26,3 @@ | ||
api_url: Optional[str] = None, | ||
wait_for_action_attempt: Optional[bool] = False, | ||
wait_for_action_attempt: Optional[Union[bool, Dict[str, float]]] = False, | ||
): | ||
@@ -29,0 +29,0 @@ """ |
@@ -1,2 +0,2 @@ | ||
import endpoints_returning_deprecated_action_attempt from "lib/endpoints-returning-deprecated-action-attempt.js" | ||
import { endpoints_returning_deprecated_action_attempt } from "lib/endpoint-rules.js" | ||
@@ -3,0 +3,0 @@ export type RubyClientMethodParameter = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
708230
9587