Skip to content

Commit 5a51725

Browse files
committed
fix: tests
1 parent 955e3b7 commit 5a51725

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/python/base/params.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
params = {}
22
{% if method.parameters.all | length %}
33
{% for parameter in method.parameters.all %}
4-
{% if parameter.required %}
4+
{% if parameter.required and not parameter.nullable %}
55
if {{ parameter.name | escapeKeyword | caseSnake }} is None:
66
raise {{spec.title | caseUcfirst}}Exception('Missing required parameter: "{{ parameter.name | escapeKeyword | caseSnake }}"')
77

tests/languages/cli/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { exec, execSync } = require('child_process');
22

3-
execSync("node index client --endpoint 'https://stage.appwrite.io/v1' --projectId console --key=35y3h5h345 --selfSigned true", { stdio: 'inherit' });
3+
execSync("node index client --endpoint 'https://stage.cloud.appwrite.io/v1' --projectId console --key=35y3h5h345 --selfSigned true", { stdio: 'inherit' });
44

55
var output;
66
console.log('\nTest Started');

0 commit comments

Comments
 (0)