Skip to content

Commit bf2f8cf

Browse files
committed
feat: readme updates, inclusion of updated python tests, version bump
1 parent 176e6af commit bf2f8cf

38 files changed

+3888
-1699
lines changed

README.md

Lines changed: 258 additions & 82 deletions
Large diffs are not rendered by default.

changes_script.rb

Lines changed: 0 additions & 39 deletions
This file was deleted.

generate.rb

Lines changed: 0 additions & 328 deletions
This file was deleted.

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Unit OpenAPI specifications",
55
"description": "An OpenAPI specifications for unit-sdk clients",
6-
"version": "0.1.0"
6+
"version": "0.2.0"
77
},
88
"servers": [
99
{
-10.5 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import os
2+
import unittest
3+
from unit import Unit
4+
from unit.models.account_end_of_day import *
5+
6+
token = os.environ.get('TOKEN')
7+
8+
client = Unit("https://api.s.unit.sh", token)
9+
10+
def test_list_account_end_of_day():
11+
params = ListAccountEndOfDayParams(10, 0, account_id="27573")
12+
response = client.account_end_of_day.list(params)
13+
for a in response.data:
14+
assert a.type == "accountEndOfDay"
15+

0 commit comments

Comments
 (0)