1
|
<!doctype html>
|
2
|
<html lang="en">
|
3
|
<head>
|
4
|
<meta charset="utf-8">
|
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
|
6
|
<meta name="generator" content="pdoc 0.10.0" />
|
7
|
<title>sql_app.schemas API documentation</title>
|
8
|
<meta name="description" content="" />
|
9
|
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin>
|
10
|
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/typography.min.css" integrity="sha256-7l/o7C8jubJiy74VsKTidCy1yBkRtiUGbVkYBylBqUg=" crossorigin>
|
11
|
<link rel="stylesheet preload" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/github.min.css" crossorigin>
|
12
|
<style>:root{--highlight-color:#fe9}.flex{display:flex !important}body{line-height:1.5em}#content{padding:20px}#sidebar{padding:30px;overflow:hidden}#sidebar > *:last-child{margin-bottom:2cm}.http-server-breadcrumbs{font-size:130%;margin:0 0 15px 0}#footer{font-size:.75em;padding:5px 30px;border-top:1px solid #ddd;text-align:right}#footer p{margin:0 0 0 1em;display:inline-block}#footer p:last-child{margin-right:30px}h1,h2,h3,h4,h5{font-weight:300}h1{font-size:2.5em;line-height:1.1em}h2{font-size:1.75em;margin:1em 0 .50em 0}h3{font-size:1.4em;margin:25px 0 10px 0}h4{margin:0;font-size:105%}h1:target,h2:target,h3:target,h4:target,h5:target,h6:target{background:var(--highlight-color);padding:.2em 0}a{color:#058;text-decoration:none;transition:color .3s ease-in-out}a:hover{color:#e82}.title code{font-weight:bold}h2[id^="header-"]{margin-top:2em}.ident{color:#900}pre code{background:#f8f8f8;font-size:.8em;line-height:1.4em}code{background:#f2f2f1;padding:1px 4px;overflow-wrap:break-word}h1 code{background:transparent}pre{background:#f8f8f8;border:0;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:1em 0;padding:1ex}#http-server-module-list{display:flex;flex-flow:column}#http-server-module-list div{display:flex}#http-server-module-list dt{min-width:10%}#http-server-module-list p{margin-top:0}.toc ul,#index{list-style-type:none;margin:0;padding:0}#index code{background:transparent}#index h3{border-bottom:1px solid #ddd}#index ul{padding:0}#index h4{margin-top:.6em;font-weight:bold}@media (min-width:200ex){#index .two-column{column-count:2}}@media (min-width:300ex){#index .two-column{column-count:3}}dl{margin-bottom:2em}dl dl:last-child{margin-bottom:4em}dd{margin:0 0 1em 3em}#header-classes + dl > dd{margin-bottom:3em}dd dd{margin-left:2em}dd p{margin:10px 0}.name{background:#eee;font-weight:bold;font-size:.85em;padding:5px 10px;display:inline-block;min-width:40%}.name:hover{background:#e0e0e0}dt:target .name{background:var(--highlight-color)}.name > span:first-child{white-space:nowrap}.name.class > span:nth-child(2){margin-left:.4em}.inherited{color:#999;border-left:5px solid #eee;padding-left:1em}.inheritance em{font-style:normal;font-weight:bold}.desc h2{font-weight:400;font-size:1.25em}.desc h3{font-size:1em}.desc dt code{background:inherit}.source summary,.git-link-div{color:#666;text-align:right;font-weight:400;font-size:.8em;text-transform:uppercase}.source summary > *{white-space:nowrap;cursor:pointer}.git-link{color:inherit;margin-left:1em}.source pre{max-height:500px;overflow:auto;margin:0}.source pre code{font-size:12px;overflow:visible}.hlist{list-style:none}.hlist li{display:inline}.hlist li:after{content:',\2002'}.hlist li:last-child:after{content:none}.hlist .hlist{display:inline;padding-left:1em}img{max-width:100%}td{padding:0 .5em}.admonition{padding:.1em .5em;margin-bottom:1em}.admonition-title{font-weight:bold}.admonition.note,.admonition.info,.admonition.important{background:#aef}.admonition.todo,.admonition.versionadded,.admonition.tip,.admonition.hint{background:#dfd}.admonition.warning,.admonition.versionchanged,.admonition.deprecated{background:#fd4}.admonition.error,.admonition.danger,.admonition.caution{background:lightpink}</style>
|
13
|
<style media="screen and (min-width: 700px)">@media screen and (min-width:700px){#sidebar{width:30%;height:100vh;overflow:auto;position:sticky;top:0}#content{width:70%;max-width:100ch;padding:3em 4em;border-left:1px solid #ddd}pre code{font-size:1em}.item .name{font-size:1em}main{display:flex;flex-direction:row-reverse;justify-content:flex-end}.toc ul ul,#index ul{padding-left:1.5em}.toc > ul > li{margin-top:.5em}}</style>
|
14
|
<style media="print">@media print{#sidebar h1{page-break-before:always}.source{display:none}}@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a[href]:after{content:" (" attr(href) ")";font-size:90%}a[href][title]:after{content:none}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h1,h2,h3,h4,h5,h6{page-break-after:avoid}}</style>
|
15
|
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js" integrity="sha256-Uv3H6lx7dJmRfRvH8TH6kJD1TSK1aFcwgx+mdg3epi8=" crossorigin></script>
|
16
|
<script>window.addEventListener('DOMContentLoaded', () => hljs.initHighlighting())</script>
|
17
|
</head>
|
18
|
<body>
|
19
|
<main>
|
20
|
<article id="content">
|
21
|
<header>
|
22
|
<h1 class="title">Module <code>sql_app.schemas</code></h1>
|
23
|
</header>
|
24
|
<section id="section-intro">
|
25
|
<details class="source">
|
26
|
<summary>
|
27
|
<span>Expand source code</span>
|
28
|
</summary>
|
29
|
<pre><code class="python">from typing import List, Optional
|
30
|
from datetime import datetime, date
|
31
|
from pydantic import BaseModel
|
32
|
|
33
|
|
34
|
class DeviceLicenseBase(BaseModel):
|
35
|
device_id: int
|
36
|
license_id: int
|
37
|
assigned_datetime: str
|
38
|
|
39
|
|
40
|
class DeviceLicenseCreate(DeviceLicenseBase):
|
41
|
pass
|
42
|
|
43
|
|
44
|
class DeviceLicense(DeviceLicenseCreate):
|
45
|
"""
|
46
|
Class used for creating and reading devices_licenses entries
|
47
|
"""
|
48
|
id: int
|
49
|
|
50
|
class Config:
|
51
|
orm_mode = True
|
52
|
|
53
|
|
54
|
class USBLogBase(BaseModel):
|
55
|
timestamp: datetime
|
56
|
status: str
|
57
|
|
58
|
|
59
|
class USBLogCreate(USBLogBase):
|
60
|
pass
|
61
|
|
62
|
|
63
|
class USBLog(USBLogBase):
|
64
|
"""
|
65
|
Class used for creating and reading usb_logs entries
|
66
|
"""
|
67
|
id: int
|
68
|
device_id: int
|
69
|
pc_id: int
|
70
|
|
71
|
class Config:
|
72
|
orm_mode = True
|
73
|
|
74
|
|
75
|
class DeviceBase(BaseModel):
|
76
|
vendor_id: str
|
77
|
product_id: str
|
78
|
serial_number: str
|
79
|
inventory_number: str
|
80
|
comment: str
|
81
|
|
82
|
|
83
|
class DeviceCreate(DeviceBase):
|
84
|
pass
|
85
|
|
86
|
|
87
|
class Device(DeviceCreate):
|
88
|
"""
|
89
|
Class used for creating and reading devices entries
|
90
|
"""
|
91
|
id: int
|
92
|
logs: List[USBLog] = []
|
93
|
licenses: List[DeviceLicense] = []
|
94
|
|
95
|
class Config:
|
96
|
orm_mode = True
|
97
|
|
98
|
|
99
|
class DeviceTemp(BaseModel):
|
100
|
"""
|
101
|
Class used for reading data from client
|
102
|
"""
|
103
|
vendor_id: str
|
104
|
product_id: str
|
105
|
serial_number: str
|
106
|
|
107
|
|
108
|
class LDLogBase(BaseModel):
|
109
|
timestamp: datetime
|
110
|
status: str
|
111
|
|
112
|
|
113
|
class LDLogCreate(LDLogBase):
|
114
|
pass
|
115
|
|
116
|
|
117
|
class LDLog(LDLogCreate):
|
118
|
"""
|
119
|
Class used for creating and reading ld_logs entries
|
120
|
"""
|
121
|
id: int
|
122
|
head_id: int
|
123
|
body_id: int
|
124
|
|
125
|
class Config:
|
126
|
orm_mode = True
|
127
|
|
128
|
|
129
|
class BodyDeviceBase(BaseModel):
|
130
|
serial_number: str
|
131
|
inventory_number: str
|
132
|
comment: str
|
133
|
|
134
|
|
135
|
class BodyDeviceCreate(BodyDeviceBase):
|
136
|
pass
|
137
|
|
138
|
|
139
|
class BodyDevice(BodyDeviceCreate):
|
140
|
"""
|
141
|
Class used for creating and reading body_devices entries
|
142
|
"""
|
143
|
id: int
|
144
|
logs: List[LDLog] = []
|
145
|
|
146
|
class Config:
|
147
|
orm_mode = True
|
148
|
|
149
|
|
150
|
class BodyDeviceTemp(BaseModel):
|
151
|
"""
|
152
|
Class used for reading body device data from client
|
153
|
"""
|
154
|
serial_number: str
|
155
|
|
156
|
|
157
|
class HeadDeviceBase(BaseModel):
|
158
|
serial_number: str
|
159
|
inventory_number: str
|
160
|
comment: str
|
161
|
|
162
|
|
163
|
class HeadDeviceCreate(HeadDeviceBase):
|
164
|
pass
|
165
|
|
166
|
|
167
|
class HeadDevice(HeadDeviceCreate):
|
168
|
"""
|
169
|
Class used for creating and reading head_devices entries
|
170
|
"""
|
171
|
id: int
|
172
|
logs: List[LDLog] = []
|
173
|
|
174
|
class Config:
|
175
|
orm_mode = True
|
176
|
|
177
|
|
178
|
class HeadDeviceTemp(BaseModel):
|
179
|
"""
|
180
|
Class used for reading head device data from client
|
181
|
"""
|
182
|
serial_number: str
|
183
|
|
184
|
|
185
|
class PCBase(BaseModel):
|
186
|
username: str
|
187
|
hostname: str
|
188
|
|
189
|
|
190
|
class PCCreate(PCBase):
|
191
|
pass
|
192
|
|
193
|
|
194
|
class PC(PCCreate):
|
195
|
"""
|
196
|
Class used for creating and reading pc entries
|
197
|
"""
|
198
|
id: int
|
199
|
logs_pc: List[USBLog] = []
|
200
|
logs_ld: List[LDLog] = []
|
201
|
|
202
|
class Config:
|
203
|
orm_mode = True
|
204
|
|
205
|
|
206
|
class TeamBase(BaseModel):
|
207
|
name: str
|
208
|
|
209
|
|
210
|
class TeamCreate(TeamBase):
|
211
|
pass
|
212
|
|
213
|
|
214
|
class Team(TeamCreate):
|
215
|
"""
|
216
|
Class used for creating and reading team entries
|
217
|
"""
|
218
|
id: int
|
219
|
devices: List[Device] = []
|
220
|
|
221
|
class Config:
|
222
|
orm_mode = True
|
223
|
|
224
|
|
225
|
class LicenseBase(BaseModel):
|
226
|
name: str
|
227
|
license_id: str
|
228
|
expiration_date: date
|
229
|
|
230
|
|
231
|
class LicenseCreate(LicenseBase):
|
232
|
pass
|
233
|
|
234
|
|
235
|
class License(LicenseCreate):
|
236
|
"""
|
237
|
Class used for creating and reading licenses entries
|
238
|
"""
|
239
|
id: int
|
240
|
devices: List[DeviceLicense] = []
|
241
|
head_devices: List[HeadDevice] = []
|
242
|
body_devices: List[BodyDevice] = []
|
243
|
|
244
|
class Config:
|
245
|
orm_mode = True
|
246
|
|
247
|
|
248
|
class USBTempBase(BaseModel):
|
249
|
"""
|
250
|
Class used for reading data from keyman detecting client messages
|
251
|
"""
|
252
|
username: str
|
253
|
hostname: str
|
254
|
timestamp: str
|
255
|
device: DeviceTemp
|
256
|
status: str
|
257
|
|
258
|
|
259
|
class USBTempCreate(USBTempBase):
|
260
|
pass
|
261
|
|
262
|
|
263
|
class USBTemp(USBTempBase):
|
264
|
id: int
|
265
|
device_id: int
|
266
|
|
267
|
class Config:
|
268
|
orm_mode = True
|
269
|
|
270
|
|
271
|
class LDTempBase(BaseModel):
|
272
|
"""
|
273
|
Class used for reading data from debugger detecting client messages
|
274
|
"""
|
275
|
username: str
|
276
|
hostname: str
|
277
|
timestamp: str
|
278
|
head_device: HeadDeviceTemp
|
279
|
body_device: BodyDeviceTemp
|
280
|
status: str
|
281
|
|
282
|
|
283
|
class LDTempCreate(LDTempBase):
|
284
|
pass
|
285
|
|
286
|
|
287
|
class LDTemp(LDTempCreate):
|
288
|
id: int
|
289
|
head_id: int
|
290
|
body_id: int
|
291
|
|
292
|
class Config:
|
293
|
orm_mode = True
|
294
|
|
295
|
|
296
|
class UserBase(BaseModel):
|
297
|
"""
|
298
|
Classes used for creating new User entry
|
299
|
"""
|
300
|
username: str
|
301
|
password: str
|
302
|
role: str
|
303
|
|
304
|
|
305
|
class UserCreate(UserBase):
|
306
|
pass
|
307
|
|
308
|
|
309
|
class User(UserCreate):
|
310
|
id: int
|
311
|
|
312
|
class Config:
|
313
|
orm_mode = True</code></pre>
|
314
|
</details>
|
315
|
</section>
|
316
|
<section>
|
317
|
</section>
|
318
|
<section>
|
319
|
</section>
|
320
|
<section>
|
321
|
</section>
|
322
|
<section>
|
323
|
<h2 class="section-title" id="header-classes">Classes</h2>
|
324
|
<dl>
|
325
|
<dt id="sql_app.schemas.BodyDevice"><code class="flex name class">
|
326
|
<span>class <span class="ident">BodyDevice</span></span>
|
327
|
<span>(</span><span>**data: Any)</span>
|
328
|
</code></dt>
|
329
|
<dd>
|
330
|
<div class="desc"><p>Class used for creating and reading body_devices entries</p>
|
331
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
332
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
333
|
<details class="source">
|
334
|
<summary>
|
335
|
<span>Expand source code</span>
|
336
|
</summary>
|
337
|
<pre><code class="python">class BodyDevice(BodyDeviceCreate):
|
338
|
"""
|
339
|
Class used for creating and reading body_devices entries
|
340
|
"""
|
341
|
id: int
|
342
|
logs: List[LDLog] = []
|
343
|
|
344
|
class Config:
|
345
|
orm_mode = True</code></pre>
|
346
|
</details>
|
347
|
<h3>Ancestors</h3>
|
348
|
<ul class="hlist">
|
349
|
<li><a title="sql_app.schemas.BodyDeviceCreate" href="#sql_app.schemas.BodyDeviceCreate">BodyDeviceCreate</a></li>
|
350
|
<li><a title="sql_app.schemas.BodyDeviceBase" href="#sql_app.schemas.BodyDeviceBase">BodyDeviceBase</a></li>
|
351
|
<li>pydantic.main.BaseModel</li>
|
352
|
<li>pydantic.utils.Representation</li>
|
353
|
</ul>
|
354
|
<h3>Subclasses</h3>
|
355
|
<ul class="hlist">
|
356
|
<li>pydantic.main.BodyDevice</li>
|
357
|
<li>pydantic.main.BodyDevice</li>
|
358
|
</ul>
|
359
|
<h3>Class variables</h3>
|
360
|
<dl>
|
361
|
<dt id="sql_app.schemas.BodyDevice.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
362
|
<dd>
|
363
|
<div class="desc"></div>
|
364
|
</dd>
|
365
|
<dt id="sql_app.schemas.BodyDevice.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
366
|
<dd>
|
367
|
<div class="desc"></div>
|
368
|
</dd>
|
369
|
<dt id="sql_app.schemas.BodyDevice.logs"><code class="name">var <span class="ident">logs</span> : List[<a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a>]</code></dt>
|
370
|
<dd>
|
371
|
<div class="desc"></div>
|
372
|
</dd>
|
373
|
</dl>
|
374
|
</dd>
|
375
|
<dt id="sql_app.schemas.BodyDeviceBase"><code class="flex name class">
|
376
|
<span>class <span class="ident">BodyDeviceBase</span></span>
|
377
|
<span>(</span><span>**data: Any)</span>
|
378
|
</code></dt>
|
379
|
<dd>
|
380
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
381
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
382
|
<details class="source">
|
383
|
<summary>
|
384
|
<span>Expand source code</span>
|
385
|
</summary>
|
386
|
<pre><code class="python">class BodyDeviceBase(BaseModel):
|
387
|
serial_number: str
|
388
|
inventory_number: str
|
389
|
comment: str</code></pre>
|
390
|
</details>
|
391
|
<h3>Ancestors</h3>
|
392
|
<ul class="hlist">
|
393
|
<li>pydantic.main.BaseModel</li>
|
394
|
<li>pydantic.utils.Representation</li>
|
395
|
</ul>
|
396
|
<h3>Subclasses</h3>
|
397
|
<ul class="hlist">
|
398
|
<li><a title="sql_app.schemas.BodyDeviceCreate" href="#sql_app.schemas.BodyDeviceCreate">BodyDeviceCreate</a></li>
|
399
|
</ul>
|
400
|
<h3>Class variables</h3>
|
401
|
<dl>
|
402
|
<dt id="sql_app.schemas.BodyDeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt>
|
403
|
<dd>
|
404
|
<div class="desc"></div>
|
405
|
</dd>
|
406
|
<dt id="sql_app.schemas.BodyDeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt>
|
407
|
<dd>
|
408
|
<div class="desc"></div>
|
409
|
</dd>
|
410
|
<dt id="sql_app.schemas.BodyDeviceBase.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
411
|
<dd>
|
412
|
<div class="desc"></div>
|
413
|
</dd>
|
414
|
</dl>
|
415
|
</dd>
|
416
|
<dt id="sql_app.schemas.BodyDeviceCreate"><code class="flex name class">
|
417
|
<span>class <span class="ident">BodyDeviceCreate</span></span>
|
418
|
<span>(</span><span>**data: Any)</span>
|
419
|
</code></dt>
|
420
|
<dd>
|
421
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
422
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
423
|
<details class="source">
|
424
|
<summary>
|
425
|
<span>Expand source code</span>
|
426
|
</summary>
|
427
|
<pre><code class="python">class BodyDeviceCreate(BodyDeviceBase):
|
428
|
pass</code></pre>
|
429
|
</details>
|
430
|
<h3>Ancestors</h3>
|
431
|
<ul class="hlist">
|
432
|
<li><a title="sql_app.schemas.BodyDeviceBase" href="#sql_app.schemas.BodyDeviceBase">BodyDeviceBase</a></li>
|
433
|
<li>pydantic.main.BaseModel</li>
|
434
|
<li>pydantic.utils.Representation</li>
|
435
|
</ul>
|
436
|
<h3>Subclasses</h3>
|
437
|
<ul class="hlist">
|
438
|
<li><a title="sql_app.schemas.BodyDevice" href="#sql_app.schemas.BodyDevice">BodyDevice</a></li>
|
439
|
</ul>
|
440
|
</dd>
|
441
|
<dt id="sql_app.schemas.BodyDeviceTemp"><code class="flex name class">
|
442
|
<span>class <span class="ident">BodyDeviceTemp</span></span>
|
443
|
<span>(</span><span>**data: Any)</span>
|
444
|
</code></dt>
|
445
|
<dd>
|
446
|
<div class="desc"><p>Class used for reading body device data from client</p>
|
447
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
448
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
449
|
<details class="source">
|
450
|
<summary>
|
451
|
<span>Expand source code</span>
|
452
|
</summary>
|
453
|
<pre><code class="python">class BodyDeviceTemp(BaseModel):
|
454
|
"""
|
455
|
Class used for reading body device data from client
|
456
|
"""
|
457
|
serial_number: str</code></pre>
|
458
|
</details>
|
459
|
<h3>Ancestors</h3>
|
460
|
<ul class="hlist">
|
461
|
<li>pydantic.main.BaseModel</li>
|
462
|
<li>pydantic.utils.Representation</li>
|
463
|
</ul>
|
464
|
<h3>Class variables</h3>
|
465
|
<dl>
|
466
|
<dt id="sql_app.schemas.BodyDeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
467
|
<dd>
|
468
|
<div class="desc"></div>
|
469
|
</dd>
|
470
|
</dl>
|
471
|
</dd>
|
472
|
<dt id="sql_app.schemas.Device"><code class="flex name class">
|
473
|
<span>class <span class="ident">Device</span></span>
|
474
|
<span>(</span><span>**data: Any)</span>
|
475
|
</code></dt>
|
476
|
<dd>
|
477
|
<div class="desc"><p>Class used for creating and reading devices entries</p>
|
478
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
479
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
480
|
<details class="source">
|
481
|
<summary>
|
482
|
<span>Expand source code</span>
|
483
|
</summary>
|
484
|
<pre><code class="python">class Device(DeviceCreate):
|
485
|
"""
|
486
|
Class used for creating and reading devices entries
|
487
|
"""
|
488
|
id: int
|
489
|
logs: List[USBLog] = []
|
490
|
licenses: List[DeviceLicense] = []
|
491
|
|
492
|
class Config:
|
493
|
orm_mode = True</code></pre>
|
494
|
</details>
|
495
|
<h3>Ancestors</h3>
|
496
|
<ul class="hlist">
|
497
|
<li><a title="sql_app.schemas.DeviceCreate" href="#sql_app.schemas.DeviceCreate">DeviceCreate</a></li>
|
498
|
<li><a title="sql_app.schemas.DeviceBase" href="#sql_app.schemas.DeviceBase">DeviceBase</a></li>
|
499
|
<li>pydantic.main.BaseModel</li>
|
500
|
<li>pydantic.utils.Representation</li>
|
501
|
</ul>
|
502
|
<h3>Subclasses</h3>
|
503
|
<ul class="hlist">
|
504
|
<li>pydantic.main.Device</li>
|
505
|
<li>pydantic.main.Device</li>
|
506
|
<li>pydantic.main.Device</li>
|
507
|
<li>pydantic.main.Device</li>
|
508
|
<li>pydantic.main.Device</li>
|
509
|
<li>pydantic.main.Device</li>
|
510
|
<li>pydantic.main.Device</li>
|
511
|
<li>pydantic.main.Device</li>
|
512
|
<li>pydantic.main.Device</li>
|
513
|
<li>pydantic.main.Device</li>
|
514
|
<li>pydantic.main.Device</li>
|
515
|
<li>pydantic.main.Device</li>
|
516
|
</ul>
|
517
|
<h3>Class variables</h3>
|
518
|
<dl>
|
519
|
<dt id="sql_app.schemas.Device.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
520
|
<dd>
|
521
|
<div class="desc"></div>
|
522
|
</dd>
|
523
|
<dt id="sql_app.schemas.Device.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
524
|
<dd>
|
525
|
<div class="desc"></div>
|
526
|
</dd>
|
527
|
<dt id="sql_app.schemas.Device.licenses"><code class="name">var <span class="ident">licenses</span> : List[<a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a>]</code></dt>
|
528
|
<dd>
|
529
|
<div class="desc"></div>
|
530
|
</dd>
|
531
|
<dt id="sql_app.schemas.Device.logs"><code class="name">var <span class="ident">logs</span> : List[<a title="sql_app.schemas.USBLog" href="#sql_app.schemas.USBLog">USBLog</a>]</code></dt>
|
532
|
<dd>
|
533
|
<div class="desc"></div>
|
534
|
</dd>
|
535
|
</dl>
|
536
|
</dd>
|
537
|
<dt id="sql_app.schemas.DeviceBase"><code class="flex name class">
|
538
|
<span>class <span class="ident">DeviceBase</span></span>
|
539
|
<span>(</span><span>**data: Any)</span>
|
540
|
</code></dt>
|
541
|
<dd>
|
542
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
543
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
544
|
<details class="source">
|
545
|
<summary>
|
546
|
<span>Expand source code</span>
|
547
|
</summary>
|
548
|
<pre><code class="python">class DeviceBase(BaseModel):
|
549
|
vendor_id: str
|
550
|
product_id: str
|
551
|
serial_number: str
|
552
|
inventory_number: str
|
553
|
comment: str</code></pre>
|
554
|
</details>
|
555
|
<h3>Ancestors</h3>
|
556
|
<ul class="hlist">
|
557
|
<li>pydantic.main.BaseModel</li>
|
558
|
<li>pydantic.utils.Representation</li>
|
559
|
</ul>
|
560
|
<h3>Subclasses</h3>
|
561
|
<ul class="hlist">
|
562
|
<li><a title="sql_app.schemas.DeviceCreate" href="#sql_app.schemas.DeviceCreate">DeviceCreate</a></li>
|
563
|
</ul>
|
564
|
<h3>Class variables</h3>
|
565
|
<dl>
|
566
|
<dt id="sql_app.schemas.DeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt>
|
567
|
<dd>
|
568
|
<div class="desc"></div>
|
569
|
</dd>
|
570
|
<dt id="sql_app.schemas.DeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt>
|
571
|
<dd>
|
572
|
<div class="desc"></div>
|
573
|
</dd>
|
574
|
<dt id="sql_app.schemas.DeviceBase.product_id"><code class="name">var <span class="ident">product_id</span> : str</code></dt>
|
575
|
<dd>
|
576
|
<div class="desc"></div>
|
577
|
</dd>
|
578
|
<dt id="sql_app.schemas.DeviceBase.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
579
|
<dd>
|
580
|
<div class="desc"></div>
|
581
|
</dd>
|
582
|
<dt id="sql_app.schemas.DeviceBase.vendor_id"><code class="name">var <span class="ident">vendor_id</span> : str</code></dt>
|
583
|
<dd>
|
584
|
<div class="desc"></div>
|
585
|
</dd>
|
586
|
</dl>
|
587
|
</dd>
|
588
|
<dt id="sql_app.schemas.DeviceCreate"><code class="flex name class">
|
589
|
<span>class <span class="ident">DeviceCreate</span></span>
|
590
|
<span>(</span><span>**data: Any)</span>
|
591
|
</code></dt>
|
592
|
<dd>
|
593
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
594
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
595
|
<details class="source">
|
596
|
<summary>
|
597
|
<span>Expand source code</span>
|
598
|
</summary>
|
599
|
<pre><code class="python">class DeviceCreate(DeviceBase):
|
600
|
pass</code></pre>
|
601
|
</details>
|
602
|
<h3>Ancestors</h3>
|
603
|
<ul class="hlist">
|
604
|
<li><a title="sql_app.schemas.DeviceBase" href="#sql_app.schemas.DeviceBase">DeviceBase</a></li>
|
605
|
<li>pydantic.main.BaseModel</li>
|
606
|
<li>pydantic.utils.Representation</li>
|
607
|
</ul>
|
608
|
<h3>Subclasses</h3>
|
609
|
<ul class="hlist">
|
610
|
<li><a title="sql_app.schemas.Device" href="#sql_app.schemas.Device">Device</a></li>
|
611
|
</ul>
|
612
|
</dd>
|
613
|
<dt id="sql_app.schemas.DeviceLicense"><code class="flex name class">
|
614
|
<span>class <span class="ident">DeviceLicense</span></span>
|
615
|
<span>(</span><span>**data: Any)</span>
|
616
|
</code></dt>
|
617
|
<dd>
|
618
|
<div class="desc"><p>Class used for creating and reading devices_licenses entries</p>
|
619
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
620
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
621
|
<details class="source">
|
622
|
<summary>
|
623
|
<span>Expand source code</span>
|
624
|
</summary>
|
625
|
<pre><code class="python">class DeviceLicense(DeviceLicenseCreate):
|
626
|
"""
|
627
|
Class used for creating and reading devices_licenses entries
|
628
|
"""
|
629
|
id: int
|
630
|
|
631
|
class Config:
|
632
|
orm_mode = True</code></pre>
|
633
|
</details>
|
634
|
<h3>Ancestors</h3>
|
635
|
<ul class="hlist">
|
636
|
<li><a title="sql_app.schemas.DeviceLicenseCreate" href="#sql_app.schemas.DeviceLicenseCreate">DeviceLicenseCreate</a></li>
|
637
|
<li><a title="sql_app.schemas.DeviceLicenseBase" href="#sql_app.schemas.DeviceLicenseBase">DeviceLicenseBase</a></li>
|
638
|
<li>pydantic.main.BaseModel</li>
|
639
|
<li>pydantic.utils.Representation</li>
|
640
|
</ul>
|
641
|
<h3>Subclasses</h3>
|
642
|
<ul class="hlist">
|
643
|
<li>pydantic.main.DeviceLicense</li>
|
644
|
<li>pydantic.main.DeviceLicense</li>
|
645
|
<li>pydantic.main.DeviceLicense</li>
|
646
|
<li>pydantic.main.DeviceLicense</li>
|
647
|
<li>pydantic.main.DeviceLicense</li>
|
648
|
<li>pydantic.main.DeviceLicense</li>
|
649
|
<li>pydantic.main.DeviceLicense</li>
|
650
|
<li>pydantic.main.DeviceLicense</li>
|
651
|
<li>pydantic.main.DeviceLicense</li>
|
652
|
<li>pydantic.main.DeviceLicense</li>
|
653
|
<li>pydantic.main.DeviceLicense</li>
|
654
|
<li>pydantic.main.DeviceLicense</li>
|
655
|
<li>pydantic.main.DeviceLicense</li>
|
656
|
<li>pydantic.main.DeviceLicense</li>
|
657
|
<li>pydantic.main.DeviceLicense</li>
|
658
|
<li>pydantic.main.DeviceLicense</li>
|
659
|
</ul>
|
660
|
<h3>Class variables</h3>
|
661
|
<dl>
|
662
|
<dt id="sql_app.schemas.DeviceLicense.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
663
|
<dd>
|
664
|
<div class="desc"></div>
|
665
|
</dd>
|
666
|
<dt id="sql_app.schemas.DeviceLicense.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
667
|
<dd>
|
668
|
<div class="desc"></div>
|
669
|
</dd>
|
670
|
</dl>
|
671
|
</dd>
|
672
|
<dt id="sql_app.schemas.DeviceLicenseBase"><code class="flex name class">
|
673
|
<span>class <span class="ident">DeviceLicenseBase</span></span>
|
674
|
<span>(</span><span>**data: Any)</span>
|
675
|
</code></dt>
|
676
|
<dd>
|
677
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
678
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
679
|
<details class="source">
|
680
|
<summary>
|
681
|
<span>Expand source code</span>
|
682
|
</summary>
|
683
|
<pre><code class="python">class DeviceLicenseBase(BaseModel):
|
684
|
device_id: int
|
685
|
license_id: int
|
686
|
assigned_datetime: str</code></pre>
|
687
|
</details>
|
688
|
<h3>Ancestors</h3>
|
689
|
<ul class="hlist">
|
690
|
<li>pydantic.main.BaseModel</li>
|
691
|
<li>pydantic.utils.Representation</li>
|
692
|
</ul>
|
693
|
<h3>Subclasses</h3>
|
694
|
<ul class="hlist">
|
695
|
<li><a title="sql_app.schemas.DeviceLicenseCreate" href="#sql_app.schemas.DeviceLicenseCreate">DeviceLicenseCreate</a></li>
|
696
|
</ul>
|
697
|
<h3>Class variables</h3>
|
698
|
<dl>
|
699
|
<dt id="sql_app.schemas.DeviceLicenseBase.assigned_datetime"><code class="name">var <span class="ident">assigned_datetime</span> : str</code></dt>
|
700
|
<dd>
|
701
|
<div class="desc"></div>
|
702
|
</dd>
|
703
|
<dt id="sql_app.schemas.DeviceLicenseBase.device_id"><code class="name">var <span class="ident">device_id</span> : int</code></dt>
|
704
|
<dd>
|
705
|
<div class="desc"></div>
|
706
|
</dd>
|
707
|
<dt id="sql_app.schemas.DeviceLicenseBase.license_id"><code class="name">var <span class="ident">license_id</span> : int</code></dt>
|
708
|
<dd>
|
709
|
<div class="desc"></div>
|
710
|
</dd>
|
711
|
</dl>
|
712
|
</dd>
|
713
|
<dt id="sql_app.schemas.DeviceLicenseCreate"><code class="flex name class">
|
714
|
<span>class <span class="ident">DeviceLicenseCreate</span></span>
|
715
|
<span>(</span><span>**data: Any)</span>
|
716
|
</code></dt>
|
717
|
<dd>
|
718
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
719
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
720
|
<details class="source">
|
721
|
<summary>
|
722
|
<span>Expand source code</span>
|
723
|
</summary>
|
724
|
<pre><code class="python">class DeviceLicenseCreate(DeviceLicenseBase):
|
725
|
pass</code></pre>
|
726
|
</details>
|
727
|
<h3>Ancestors</h3>
|
728
|
<ul class="hlist">
|
729
|
<li><a title="sql_app.schemas.DeviceLicenseBase" href="#sql_app.schemas.DeviceLicenseBase">DeviceLicenseBase</a></li>
|
730
|
<li>pydantic.main.BaseModel</li>
|
731
|
<li>pydantic.utils.Representation</li>
|
732
|
</ul>
|
733
|
<h3>Subclasses</h3>
|
734
|
<ul class="hlist">
|
735
|
<li><a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a></li>
|
736
|
</ul>
|
737
|
</dd>
|
738
|
<dt id="sql_app.schemas.DeviceTemp"><code class="flex name class">
|
739
|
<span>class <span class="ident">DeviceTemp</span></span>
|
740
|
<span>(</span><span>**data: Any)</span>
|
741
|
</code></dt>
|
742
|
<dd>
|
743
|
<div class="desc"><p>Class used for reading data from client</p>
|
744
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
745
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
746
|
<details class="source">
|
747
|
<summary>
|
748
|
<span>Expand source code</span>
|
749
|
</summary>
|
750
|
<pre><code class="python">class DeviceTemp(BaseModel):
|
751
|
"""
|
752
|
Class used for reading data from client
|
753
|
"""
|
754
|
vendor_id: str
|
755
|
product_id: str
|
756
|
serial_number: str</code></pre>
|
757
|
</details>
|
758
|
<h3>Ancestors</h3>
|
759
|
<ul class="hlist">
|
760
|
<li>pydantic.main.BaseModel</li>
|
761
|
<li>pydantic.utils.Representation</li>
|
762
|
</ul>
|
763
|
<h3>Class variables</h3>
|
764
|
<dl>
|
765
|
<dt id="sql_app.schemas.DeviceTemp.product_id"><code class="name">var <span class="ident">product_id</span> : str</code></dt>
|
766
|
<dd>
|
767
|
<div class="desc"></div>
|
768
|
</dd>
|
769
|
<dt id="sql_app.schemas.DeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
770
|
<dd>
|
771
|
<div class="desc"></div>
|
772
|
</dd>
|
773
|
<dt id="sql_app.schemas.DeviceTemp.vendor_id"><code class="name">var <span class="ident">vendor_id</span> : str</code></dt>
|
774
|
<dd>
|
775
|
<div class="desc"></div>
|
776
|
</dd>
|
777
|
</dl>
|
778
|
</dd>
|
779
|
<dt id="sql_app.schemas.HeadDevice"><code class="flex name class">
|
780
|
<span>class <span class="ident">HeadDevice</span></span>
|
781
|
<span>(</span><span>**data: Any)</span>
|
782
|
</code></dt>
|
783
|
<dd>
|
784
|
<div class="desc"><p>Class used for creating and reading head_devices entries</p>
|
785
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
786
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
787
|
<details class="source">
|
788
|
<summary>
|
789
|
<span>Expand source code</span>
|
790
|
</summary>
|
791
|
<pre><code class="python">class HeadDevice(HeadDeviceCreate):
|
792
|
"""
|
793
|
Class used for creating and reading head_devices entries
|
794
|
"""
|
795
|
id: int
|
796
|
logs: List[LDLog] = []
|
797
|
|
798
|
class Config:
|
799
|
orm_mode = True</code></pre>
|
800
|
</details>
|
801
|
<h3>Ancestors</h3>
|
802
|
<ul class="hlist">
|
803
|
<li><a title="sql_app.schemas.HeadDeviceCreate" href="#sql_app.schemas.HeadDeviceCreate">HeadDeviceCreate</a></li>
|
804
|
<li><a title="sql_app.schemas.HeadDeviceBase" href="#sql_app.schemas.HeadDeviceBase">HeadDeviceBase</a></li>
|
805
|
<li>pydantic.main.BaseModel</li>
|
806
|
<li>pydantic.utils.Representation</li>
|
807
|
</ul>
|
808
|
<h3>Subclasses</h3>
|
809
|
<ul class="hlist">
|
810
|
<li>pydantic.main.HeadDevice</li>
|
811
|
<li>pydantic.main.HeadDevice</li>
|
812
|
</ul>
|
813
|
<h3>Class variables</h3>
|
814
|
<dl>
|
815
|
<dt id="sql_app.schemas.HeadDevice.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
816
|
<dd>
|
817
|
<div class="desc"></div>
|
818
|
</dd>
|
819
|
<dt id="sql_app.schemas.HeadDevice.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
820
|
<dd>
|
821
|
<div class="desc"></div>
|
822
|
</dd>
|
823
|
<dt id="sql_app.schemas.HeadDevice.logs"><code class="name">var <span class="ident">logs</span> : List[<a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a>]</code></dt>
|
824
|
<dd>
|
825
|
<div class="desc"></div>
|
826
|
</dd>
|
827
|
</dl>
|
828
|
</dd>
|
829
|
<dt id="sql_app.schemas.HeadDeviceBase"><code class="flex name class">
|
830
|
<span>class <span class="ident">HeadDeviceBase</span></span>
|
831
|
<span>(</span><span>**data: Any)</span>
|
832
|
</code></dt>
|
833
|
<dd>
|
834
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
835
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
836
|
<details class="source">
|
837
|
<summary>
|
838
|
<span>Expand source code</span>
|
839
|
</summary>
|
840
|
<pre><code class="python">class HeadDeviceBase(BaseModel):
|
841
|
serial_number: str
|
842
|
inventory_number: str
|
843
|
comment: str</code></pre>
|
844
|
</details>
|
845
|
<h3>Ancestors</h3>
|
846
|
<ul class="hlist">
|
847
|
<li>pydantic.main.BaseModel</li>
|
848
|
<li>pydantic.utils.Representation</li>
|
849
|
</ul>
|
850
|
<h3>Subclasses</h3>
|
851
|
<ul class="hlist">
|
852
|
<li><a title="sql_app.schemas.HeadDeviceCreate" href="#sql_app.schemas.HeadDeviceCreate">HeadDeviceCreate</a></li>
|
853
|
</ul>
|
854
|
<h3>Class variables</h3>
|
855
|
<dl>
|
856
|
<dt id="sql_app.schemas.HeadDeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt>
|
857
|
<dd>
|
858
|
<div class="desc"></div>
|
859
|
</dd>
|
860
|
<dt id="sql_app.schemas.HeadDeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt>
|
861
|
<dd>
|
862
|
<div class="desc"></div>
|
863
|
</dd>
|
864
|
<dt id="sql_app.schemas.HeadDeviceBase.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
865
|
<dd>
|
866
|
<div class="desc"></div>
|
867
|
</dd>
|
868
|
</dl>
|
869
|
</dd>
|
870
|
<dt id="sql_app.schemas.HeadDeviceCreate"><code class="flex name class">
|
871
|
<span>class <span class="ident">HeadDeviceCreate</span></span>
|
872
|
<span>(</span><span>**data: Any)</span>
|
873
|
</code></dt>
|
874
|
<dd>
|
875
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
876
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
877
|
<details class="source">
|
878
|
<summary>
|
879
|
<span>Expand source code</span>
|
880
|
</summary>
|
881
|
<pre><code class="python">class HeadDeviceCreate(HeadDeviceBase):
|
882
|
pass</code></pre>
|
883
|
</details>
|
884
|
<h3>Ancestors</h3>
|
885
|
<ul class="hlist">
|
886
|
<li><a title="sql_app.schemas.HeadDeviceBase" href="#sql_app.schemas.HeadDeviceBase">HeadDeviceBase</a></li>
|
887
|
<li>pydantic.main.BaseModel</li>
|
888
|
<li>pydantic.utils.Representation</li>
|
889
|
</ul>
|
890
|
<h3>Subclasses</h3>
|
891
|
<ul class="hlist">
|
892
|
<li><a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a></li>
|
893
|
</ul>
|
894
|
</dd>
|
895
|
<dt id="sql_app.schemas.HeadDeviceTemp"><code class="flex name class">
|
896
|
<span>class <span class="ident">HeadDeviceTemp</span></span>
|
897
|
<span>(</span><span>**data: Any)</span>
|
898
|
</code></dt>
|
899
|
<dd>
|
900
|
<div class="desc"><p>Class used for reading head device data from client</p>
|
901
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
902
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
903
|
<details class="source">
|
904
|
<summary>
|
905
|
<span>Expand source code</span>
|
906
|
</summary>
|
907
|
<pre><code class="python">class HeadDeviceTemp(BaseModel):
|
908
|
"""
|
909
|
Class used for reading head device data from client
|
910
|
"""
|
911
|
serial_number: str</code></pre>
|
912
|
</details>
|
913
|
<h3>Ancestors</h3>
|
914
|
<ul class="hlist">
|
915
|
<li>pydantic.main.BaseModel</li>
|
916
|
<li>pydantic.utils.Representation</li>
|
917
|
</ul>
|
918
|
<h3>Class variables</h3>
|
919
|
<dl>
|
920
|
<dt id="sql_app.schemas.HeadDeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt>
|
921
|
<dd>
|
922
|
<div class="desc"></div>
|
923
|
</dd>
|
924
|
</dl>
|
925
|
</dd>
|
926
|
<dt id="sql_app.schemas.LDLog"><code class="flex name class">
|
927
|
<span>class <span class="ident">LDLog</span></span>
|
928
|
<span>(</span><span>**data: Any)</span>
|
929
|
</code></dt>
|
930
|
<dd>
|
931
|
<div class="desc"><p>Class used for creating and reading ld_logs entries</p>
|
932
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
933
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
934
|
<details class="source">
|
935
|
<summary>
|
936
|
<span>Expand source code</span>
|
937
|
</summary>
|
938
|
<pre><code class="python">class LDLog(LDLogCreate):
|
939
|
"""
|
940
|
Class used for creating and reading ld_logs entries
|
941
|
"""
|
942
|
id: int
|
943
|
head_id: int
|
944
|
body_id: int
|
945
|
|
946
|
class Config:
|
947
|
orm_mode = True</code></pre>
|
948
|
</details>
|
949
|
<h3>Ancestors</h3>
|
950
|
<ul class="hlist">
|
951
|
<li><a title="sql_app.schemas.LDLogCreate" href="#sql_app.schemas.LDLogCreate">LDLogCreate</a></li>
|
952
|
<li><a title="sql_app.schemas.LDLogBase" href="#sql_app.schemas.LDLogBase">LDLogBase</a></li>
|
953
|
<li>pydantic.main.BaseModel</li>
|
954
|
<li>pydantic.utils.Representation</li>
|
955
|
</ul>
|
956
|
<h3>Subclasses</h3>
|
957
|
<ul class="hlist">
|
958
|
<li>pydantic.main.LDLog</li>
|
959
|
<li>pydantic.main.LDLog</li>
|
960
|
<li>pydantic.main.LDLog</li>
|
961
|
<li>pydantic.main.LDLog</li>
|
962
|
<li>pydantic.main.LDLog</li>
|
963
|
<li>pydantic.main.LDLog</li>
|
964
|
<li>pydantic.main.LDLog</li>
|
965
|
<li>pydantic.main.LDLog</li>
|
966
|
<li>pydantic.main.LDLog</li>
|
967
|
<li>pydantic.main.LDLog</li>
|
968
|
</ul>
|
969
|
<h3>Class variables</h3>
|
970
|
<dl>
|
971
|
<dt id="sql_app.schemas.LDLog.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
972
|
<dd>
|
973
|
<div class="desc"></div>
|
974
|
</dd>
|
975
|
<dt id="sql_app.schemas.LDLog.body_id"><code class="name">var <span class="ident">body_id</span> : int</code></dt>
|
976
|
<dd>
|
977
|
<div class="desc"></div>
|
978
|
</dd>
|
979
|
<dt id="sql_app.schemas.LDLog.head_id"><code class="name">var <span class="ident">head_id</span> : int</code></dt>
|
980
|
<dd>
|
981
|
<div class="desc"></div>
|
982
|
</dd>
|
983
|
<dt id="sql_app.schemas.LDLog.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
984
|
<dd>
|
985
|
<div class="desc"></div>
|
986
|
</dd>
|
987
|
</dl>
|
988
|
</dd>
|
989
|
<dt id="sql_app.schemas.LDLogBase"><code class="flex name class">
|
990
|
<span>class <span class="ident">LDLogBase</span></span>
|
991
|
<span>(</span><span>**data: Any)</span>
|
992
|
</code></dt>
|
993
|
<dd>
|
994
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
995
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
996
|
<details class="source">
|
997
|
<summary>
|
998
|
<span>Expand source code</span>
|
999
|
</summary>
|
1000
|
<pre><code class="python">class LDLogBase(BaseModel):
|
1001
|
timestamp: datetime
|
1002
|
status: str</code></pre>
|
1003
|
</details>
|
1004
|
<h3>Ancestors</h3>
|
1005
|
<ul class="hlist">
|
1006
|
<li>pydantic.main.BaseModel</li>
|
1007
|
<li>pydantic.utils.Representation</li>
|
1008
|
</ul>
|
1009
|
<h3>Subclasses</h3>
|
1010
|
<ul class="hlist">
|
1011
|
<li><a title="sql_app.schemas.LDLogCreate" href="#sql_app.schemas.LDLogCreate">LDLogCreate</a></li>
|
1012
|
</ul>
|
1013
|
<h3>Class variables</h3>
|
1014
|
<dl>
|
1015
|
<dt id="sql_app.schemas.LDLogBase.status"><code class="name">var <span class="ident">status</span> : str</code></dt>
|
1016
|
<dd>
|
1017
|
<div class="desc"></div>
|
1018
|
</dd>
|
1019
|
<dt id="sql_app.schemas.LDLogBase.timestamp"><code class="name">var <span class="ident">timestamp</span> : datetime.datetime</code></dt>
|
1020
|
<dd>
|
1021
|
<div class="desc"></div>
|
1022
|
</dd>
|
1023
|
</dl>
|
1024
|
</dd>
|
1025
|
<dt id="sql_app.schemas.LDLogCreate"><code class="flex name class">
|
1026
|
<span>class <span class="ident">LDLogCreate</span></span>
|
1027
|
<span>(</span><span>**data: Any)</span>
|
1028
|
</code></dt>
|
1029
|
<dd>
|
1030
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1031
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1032
|
<details class="source">
|
1033
|
<summary>
|
1034
|
<span>Expand source code</span>
|
1035
|
</summary>
|
1036
|
<pre><code class="python">class LDLogCreate(LDLogBase):
|
1037
|
pass</code></pre>
|
1038
|
</details>
|
1039
|
<h3>Ancestors</h3>
|
1040
|
<ul class="hlist">
|
1041
|
<li><a title="sql_app.schemas.LDLogBase" href="#sql_app.schemas.LDLogBase">LDLogBase</a></li>
|
1042
|
<li>pydantic.main.BaseModel</li>
|
1043
|
<li>pydantic.utils.Representation</li>
|
1044
|
</ul>
|
1045
|
<h3>Subclasses</h3>
|
1046
|
<ul class="hlist">
|
1047
|
<li><a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a></li>
|
1048
|
</ul>
|
1049
|
</dd>
|
1050
|
<dt id="sql_app.schemas.LDTemp"><code class="flex name class">
|
1051
|
<span>class <span class="ident">LDTemp</span></span>
|
1052
|
<span>(</span><span>**data: Any)</span>
|
1053
|
</code></dt>
|
1054
|
<dd>
|
1055
|
<div class="desc"><p>Class used for reading data from debugger detecting client messages</p>
|
1056
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1057
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1058
|
<details class="source">
|
1059
|
<summary>
|
1060
|
<span>Expand source code</span>
|
1061
|
</summary>
|
1062
|
<pre><code class="python">class LDTemp(LDTempCreate):
|
1063
|
id: int
|
1064
|
head_id: int
|
1065
|
body_id: int
|
1066
|
|
1067
|
class Config:
|
1068
|
orm_mode = True</code></pre>
|
1069
|
</details>
|
1070
|
<h3>Ancestors</h3>
|
1071
|
<ul class="hlist">
|
1072
|
<li><a title="sql_app.schemas.LDTempCreate" href="#sql_app.schemas.LDTempCreate">LDTempCreate</a></li>
|
1073
|
<li><a title="sql_app.schemas.LDTempBase" href="#sql_app.schemas.LDTempBase">LDTempBase</a></li>
|
1074
|
<li>pydantic.main.BaseModel</li>
|
1075
|
<li>pydantic.utils.Representation</li>
|
1076
|
</ul>
|
1077
|
<h3>Class variables</h3>
|
1078
|
<dl>
|
1079
|
<dt id="sql_app.schemas.LDTemp.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1080
|
<dd>
|
1081
|
<div class="desc"></div>
|
1082
|
</dd>
|
1083
|
<dt id="sql_app.schemas.LDTemp.body_id"><code class="name">var <span class="ident">body_id</span> : int</code></dt>
|
1084
|
<dd>
|
1085
|
<div class="desc"></div>
|
1086
|
</dd>
|
1087
|
<dt id="sql_app.schemas.LDTemp.head_id"><code class="name">var <span class="ident">head_id</span> : int</code></dt>
|
1088
|
<dd>
|
1089
|
<div class="desc"></div>
|
1090
|
</dd>
|
1091
|
<dt id="sql_app.schemas.LDTemp.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1092
|
<dd>
|
1093
|
<div class="desc"></div>
|
1094
|
</dd>
|
1095
|
</dl>
|
1096
|
</dd>
|
1097
|
<dt id="sql_app.schemas.LDTempBase"><code class="flex name class">
|
1098
|
<span>class <span class="ident">LDTempBase</span></span>
|
1099
|
<span>(</span><span>**data: Any)</span>
|
1100
|
</code></dt>
|
1101
|
<dd>
|
1102
|
<div class="desc"><p>Class used for reading data from debugger detecting client messages</p>
|
1103
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1104
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1105
|
<details class="source">
|
1106
|
<summary>
|
1107
|
<span>Expand source code</span>
|
1108
|
</summary>
|
1109
|
<pre><code class="python">class LDTempBase(BaseModel):
|
1110
|
"""
|
1111
|
Class used for reading data from debugger detecting client messages
|
1112
|
"""
|
1113
|
username: str
|
1114
|
hostname: str
|
1115
|
timestamp: str
|
1116
|
head_device: HeadDeviceTemp
|
1117
|
body_device: BodyDeviceTemp
|
1118
|
status: str</code></pre>
|
1119
|
</details>
|
1120
|
<h3>Ancestors</h3>
|
1121
|
<ul class="hlist">
|
1122
|
<li>pydantic.main.BaseModel</li>
|
1123
|
<li>pydantic.utils.Representation</li>
|
1124
|
</ul>
|
1125
|
<h3>Subclasses</h3>
|
1126
|
<ul class="hlist">
|
1127
|
<li><a title="sql_app.schemas.LDTempCreate" href="#sql_app.schemas.LDTempCreate">LDTempCreate</a></li>
|
1128
|
</ul>
|
1129
|
<h3>Class variables</h3>
|
1130
|
<dl>
|
1131
|
<dt id="sql_app.schemas.LDTempBase.body_device"><code class="name">var <span class="ident">body_device</span> : <a title="sql_app.schemas.BodyDeviceTemp" href="#sql_app.schemas.BodyDeviceTemp">BodyDeviceTemp</a></code></dt>
|
1132
|
<dd>
|
1133
|
<div class="desc"></div>
|
1134
|
</dd>
|
1135
|
<dt id="sql_app.schemas.LDTempBase.head_device"><code class="name">var <span class="ident">head_device</span> : <a title="sql_app.schemas.HeadDeviceTemp" href="#sql_app.schemas.HeadDeviceTemp">HeadDeviceTemp</a></code></dt>
|
1136
|
<dd>
|
1137
|
<div class="desc"></div>
|
1138
|
</dd>
|
1139
|
<dt id="sql_app.schemas.LDTempBase.hostname"><code class="name">var <span class="ident">hostname</span> : str</code></dt>
|
1140
|
<dd>
|
1141
|
<div class="desc"></div>
|
1142
|
</dd>
|
1143
|
<dt id="sql_app.schemas.LDTempBase.status"><code class="name">var <span class="ident">status</span> : str</code></dt>
|
1144
|
<dd>
|
1145
|
<div class="desc"></div>
|
1146
|
</dd>
|
1147
|
<dt id="sql_app.schemas.LDTempBase.timestamp"><code class="name">var <span class="ident">timestamp</span> : str</code></dt>
|
1148
|
<dd>
|
1149
|
<div class="desc"></div>
|
1150
|
</dd>
|
1151
|
<dt id="sql_app.schemas.LDTempBase.username"><code class="name">var <span class="ident">username</span> : str</code></dt>
|
1152
|
<dd>
|
1153
|
<div class="desc"></div>
|
1154
|
</dd>
|
1155
|
</dl>
|
1156
|
</dd>
|
1157
|
<dt id="sql_app.schemas.LDTempCreate"><code class="flex name class">
|
1158
|
<span>class <span class="ident">LDTempCreate</span></span>
|
1159
|
<span>(</span><span>**data: Any)</span>
|
1160
|
</code></dt>
|
1161
|
<dd>
|
1162
|
<div class="desc"><p>Class used for reading data from debugger detecting client messages</p>
|
1163
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1164
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1165
|
<details class="source">
|
1166
|
<summary>
|
1167
|
<span>Expand source code</span>
|
1168
|
</summary>
|
1169
|
<pre><code class="python">class LDTempCreate(LDTempBase):
|
1170
|
pass</code></pre>
|
1171
|
</details>
|
1172
|
<h3>Ancestors</h3>
|
1173
|
<ul class="hlist">
|
1174
|
<li><a title="sql_app.schemas.LDTempBase" href="#sql_app.schemas.LDTempBase">LDTempBase</a></li>
|
1175
|
<li>pydantic.main.BaseModel</li>
|
1176
|
<li>pydantic.utils.Representation</li>
|
1177
|
</ul>
|
1178
|
<h3>Subclasses</h3>
|
1179
|
<ul class="hlist">
|
1180
|
<li><a title="sql_app.schemas.LDTemp" href="#sql_app.schemas.LDTemp">LDTemp</a></li>
|
1181
|
</ul>
|
1182
|
</dd>
|
1183
|
<dt id="sql_app.schemas.License"><code class="flex name class">
|
1184
|
<span>class <span class="ident">License</span></span>
|
1185
|
<span>(</span><span>**data: Any)</span>
|
1186
|
</code></dt>
|
1187
|
<dd>
|
1188
|
<div class="desc"><p>Class used for creating and reading licenses entries</p>
|
1189
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1190
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1191
|
<details class="source">
|
1192
|
<summary>
|
1193
|
<span>Expand source code</span>
|
1194
|
</summary>
|
1195
|
<pre><code class="python">class License(LicenseCreate):
|
1196
|
"""
|
1197
|
Class used for creating and reading licenses entries
|
1198
|
"""
|
1199
|
id: int
|
1200
|
devices: List[DeviceLicense] = []
|
1201
|
head_devices: List[HeadDevice] = []
|
1202
|
body_devices: List[BodyDevice] = []
|
1203
|
|
1204
|
class Config:
|
1205
|
orm_mode = True</code></pre>
|
1206
|
</details>
|
1207
|
<h3>Ancestors</h3>
|
1208
|
<ul class="hlist">
|
1209
|
<li><a title="sql_app.schemas.LicenseCreate" href="#sql_app.schemas.LicenseCreate">LicenseCreate</a></li>
|
1210
|
<li><a title="sql_app.schemas.LicenseBase" href="#sql_app.schemas.LicenseBase">LicenseBase</a></li>
|
1211
|
<li>pydantic.main.BaseModel</li>
|
1212
|
<li>pydantic.utils.Representation</li>
|
1213
|
</ul>
|
1214
|
<h3>Subclasses</h3>
|
1215
|
<ul class="hlist">
|
1216
|
<li>pydantic.main.License</li>
|
1217
|
<li>pydantic.main.License</li>
|
1218
|
</ul>
|
1219
|
<h3>Class variables</h3>
|
1220
|
<dl>
|
1221
|
<dt id="sql_app.schemas.License.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1222
|
<dd>
|
1223
|
<div class="desc"></div>
|
1224
|
</dd>
|
1225
|
<dt id="sql_app.schemas.License.body_devices"><code class="name">var <span class="ident">body_devices</span> : List[<a title="sql_app.schemas.BodyDevice" href="#sql_app.schemas.BodyDevice">BodyDevice</a>]</code></dt>
|
1226
|
<dd>
|
1227
|
<div class="desc"></div>
|
1228
|
</dd>
|
1229
|
<dt id="sql_app.schemas.License.devices"><code class="name">var <span class="ident">devices</span> : List[<a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a>]</code></dt>
|
1230
|
<dd>
|
1231
|
<div class="desc"></div>
|
1232
|
</dd>
|
1233
|
<dt id="sql_app.schemas.License.head_devices"><code class="name">var <span class="ident">head_devices</span> : List[<a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a>]</code></dt>
|
1234
|
<dd>
|
1235
|
<div class="desc"></div>
|
1236
|
</dd>
|
1237
|
<dt id="sql_app.schemas.License.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1238
|
<dd>
|
1239
|
<div class="desc"></div>
|
1240
|
</dd>
|
1241
|
</dl>
|
1242
|
</dd>
|
1243
|
<dt id="sql_app.schemas.LicenseBase"><code class="flex name class">
|
1244
|
<span>class <span class="ident">LicenseBase</span></span>
|
1245
|
<span>(</span><span>**data: Any)</span>
|
1246
|
</code></dt>
|
1247
|
<dd>
|
1248
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1249
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1250
|
<details class="source">
|
1251
|
<summary>
|
1252
|
<span>Expand source code</span>
|
1253
|
</summary>
|
1254
|
<pre><code class="python">class LicenseBase(BaseModel):
|
1255
|
name: str
|
1256
|
license_id: str
|
1257
|
expiration_date: date</code></pre>
|
1258
|
</details>
|
1259
|
<h3>Ancestors</h3>
|
1260
|
<ul class="hlist">
|
1261
|
<li>pydantic.main.BaseModel</li>
|
1262
|
<li>pydantic.utils.Representation</li>
|
1263
|
</ul>
|
1264
|
<h3>Subclasses</h3>
|
1265
|
<ul class="hlist">
|
1266
|
<li><a title="sql_app.schemas.LicenseCreate" href="#sql_app.schemas.LicenseCreate">LicenseCreate</a></li>
|
1267
|
</ul>
|
1268
|
<h3>Class variables</h3>
|
1269
|
<dl>
|
1270
|
<dt id="sql_app.schemas.LicenseBase.expiration_date"><code class="name">var <span class="ident">expiration_date</span> : datetime.date</code></dt>
|
1271
|
<dd>
|
1272
|
<div class="desc"></div>
|
1273
|
</dd>
|
1274
|
<dt id="sql_app.schemas.LicenseBase.license_id"><code class="name">var <span class="ident">license_id</span> : str</code></dt>
|
1275
|
<dd>
|
1276
|
<div class="desc"></div>
|
1277
|
</dd>
|
1278
|
<dt id="sql_app.schemas.LicenseBase.name"><code class="name">var <span class="ident">name</span> : str</code></dt>
|
1279
|
<dd>
|
1280
|
<div class="desc"></div>
|
1281
|
</dd>
|
1282
|
</dl>
|
1283
|
</dd>
|
1284
|
<dt id="sql_app.schemas.LicenseCreate"><code class="flex name class">
|
1285
|
<span>class <span class="ident">LicenseCreate</span></span>
|
1286
|
<span>(</span><span>**data: Any)</span>
|
1287
|
</code></dt>
|
1288
|
<dd>
|
1289
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1290
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1291
|
<details class="source">
|
1292
|
<summary>
|
1293
|
<span>Expand source code</span>
|
1294
|
</summary>
|
1295
|
<pre><code class="python">class LicenseCreate(LicenseBase):
|
1296
|
pass</code></pre>
|
1297
|
</details>
|
1298
|
<h3>Ancestors</h3>
|
1299
|
<ul class="hlist">
|
1300
|
<li><a title="sql_app.schemas.LicenseBase" href="#sql_app.schemas.LicenseBase">LicenseBase</a></li>
|
1301
|
<li>pydantic.main.BaseModel</li>
|
1302
|
<li>pydantic.utils.Representation</li>
|
1303
|
</ul>
|
1304
|
<h3>Subclasses</h3>
|
1305
|
<ul class="hlist">
|
1306
|
<li><a title="sql_app.schemas.License" href="#sql_app.schemas.License">License</a></li>
|
1307
|
</ul>
|
1308
|
</dd>
|
1309
|
<dt id="sql_app.schemas.PC"><code class="flex name class">
|
1310
|
<span>class <span class="ident">PC</span></span>
|
1311
|
<span>(</span><span>**data: Any)</span>
|
1312
|
</code></dt>
|
1313
|
<dd>
|
1314
|
<div class="desc"><p>Class used for creating and reading pc entries</p>
|
1315
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1316
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1317
|
<details class="source">
|
1318
|
<summary>
|
1319
|
<span>Expand source code</span>
|
1320
|
</summary>
|
1321
|
<pre><code class="python">class PC(PCCreate):
|
1322
|
"""
|
1323
|
Class used for creating and reading pc entries
|
1324
|
"""
|
1325
|
id: int
|
1326
|
logs_pc: List[USBLog] = []
|
1327
|
logs_ld: List[LDLog] = []
|
1328
|
|
1329
|
class Config:
|
1330
|
orm_mode = True</code></pre>
|
1331
|
</details>
|
1332
|
<h3>Ancestors</h3>
|
1333
|
<ul class="hlist">
|
1334
|
<li><a title="sql_app.schemas.PCCreate" href="#sql_app.schemas.PCCreate">PCCreate</a></li>
|
1335
|
<li><a title="sql_app.schemas.PCBase" href="#sql_app.schemas.PCBase">PCBase</a></li>
|
1336
|
<li>pydantic.main.BaseModel</li>
|
1337
|
<li>pydantic.utils.Representation</li>
|
1338
|
</ul>
|
1339
|
<h3>Subclasses</h3>
|
1340
|
<ul class="hlist">
|
1341
|
<li>pydantic.main.PC</li>
|
1342
|
<li>pydantic.main.PC</li>
|
1343
|
<li>pydantic.main.PC</li>
|
1344
|
<li>pydantic.main.PC</li>
|
1345
|
<li>pydantic.main.PC</li>
|
1346
|
<li>pydantic.main.PC</li>
|
1347
|
</ul>
|
1348
|
<h3>Class variables</h3>
|
1349
|
<dl>
|
1350
|
<dt id="sql_app.schemas.PC.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1351
|
<dd>
|
1352
|
<div class="desc"></div>
|
1353
|
</dd>
|
1354
|
<dt id="sql_app.schemas.PC.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1355
|
<dd>
|
1356
|
<div class="desc"></div>
|
1357
|
</dd>
|
1358
|
<dt id="sql_app.schemas.PC.logs_ld"><code class="name">var <span class="ident">logs_ld</span> : List[<a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a>]</code></dt>
|
1359
|
<dd>
|
1360
|
<div class="desc"></div>
|
1361
|
</dd>
|
1362
|
<dt id="sql_app.schemas.PC.logs_pc"><code class="name">var <span class="ident">logs_pc</span> : List[<a title="sql_app.schemas.USBLog" href="#sql_app.schemas.USBLog">USBLog</a>]</code></dt>
|
1363
|
<dd>
|
1364
|
<div class="desc"></div>
|
1365
|
</dd>
|
1366
|
</dl>
|
1367
|
</dd>
|
1368
|
<dt id="sql_app.schemas.PCBase"><code class="flex name class">
|
1369
|
<span>class <span class="ident">PCBase</span></span>
|
1370
|
<span>(</span><span>**data: Any)</span>
|
1371
|
</code></dt>
|
1372
|
<dd>
|
1373
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1374
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1375
|
<details class="source">
|
1376
|
<summary>
|
1377
|
<span>Expand source code</span>
|
1378
|
</summary>
|
1379
|
<pre><code class="python">class PCBase(BaseModel):
|
1380
|
username: str
|
1381
|
hostname: str</code></pre>
|
1382
|
</details>
|
1383
|
<h3>Ancestors</h3>
|
1384
|
<ul class="hlist">
|
1385
|
<li>pydantic.main.BaseModel</li>
|
1386
|
<li>pydantic.utils.Representation</li>
|
1387
|
</ul>
|
1388
|
<h3>Subclasses</h3>
|
1389
|
<ul class="hlist">
|
1390
|
<li><a title="sql_app.schemas.PCCreate" href="#sql_app.schemas.PCCreate">PCCreate</a></li>
|
1391
|
</ul>
|
1392
|
<h3>Class variables</h3>
|
1393
|
<dl>
|
1394
|
<dt id="sql_app.schemas.PCBase.hostname"><code class="name">var <span class="ident">hostname</span> : str</code></dt>
|
1395
|
<dd>
|
1396
|
<div class="desc"></div>
|
1397
|
</dd>
|
1398
|
<dt id="sql_app.schemas.PCBase.username"><code class="name">var <span class="ident">username</span> : str</code></dt>
|
1399
|
<dd>
|
1400
|
<div class="desc"></div>
|
1401
|
</dd>
|
1402
|
</dl>
|
1403
|
</dd>
|
1404
|
<dt id="sql_app.schemas.PCCreate"><code class="flex name class">
|
1405
|
<span>class <span class="ident">PCCreate</span></span>
|
1406
|
<span>(</span><span>**data: Any)</span>
|
1407
|
</code></dt>
|
1408
|
<dd>
|
1409
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1410
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1411
|
<details class="source">
|
1412
|
<summary>
|
1413
|
<span>Expand source code</span>
|
1414
|
</summary>
|
1415
|
<pre><code class="python">class PCCreate(PCBase):
|
1416
|
pass</code></pre>
|
1417
|
</details>
|
1418
|
<h3>Ancestors</h3>
|
1419
|
<ul class="hlist">
|
1420
|
<li><a title="sql_app.schemas.PCBase" href="#sql_app.schemas.PCBase">PCBase</a></li>
|
1421
|
<li>pydantic.main.BaseModel</li>
|
1422
|
<li>pydantic.utils.Representation</li>
|
1423
|
</ul>
|
1424
|
<h3>Subclasses</h3>
|
1425
|
<ul class="hlist">
|
1426
|
<li><a title="sql_app.schemas.PC" href="#sql_app.schemas.PC">PC</a></li>
|
1427
|
</ul>
|
1428
|
</dd>
|
1429
|
<dt id="sql_app.schemas.Team"><code class="flex name class">
|
1430
|
<span>class <span class="ident">Team</span></span>
|
1431
|
<span>(</span><span>**data: Any)</span>
|
1432
|
</code></dt>
|
1433
|
<dd>
|
1434
|
<div class="desc"><p>Class used for creating and reading team entries</p>
|
1435
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1436
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1437
|
<details class="source">
|
1438
|
<summary>
|
1439
|
<span>Expand source code</span>
|
1440
|
</summary>
|
1441
|
<pre><code class="python">class Team(TeamCreate):
|
1442
|
"""
|
1443
|
Class used for creating and reading team entries
|
1444
|
"""
|
1445
|
id: int
|
1446
|
devices: List[Device] = []
|
1447
|
|
1448
|
class Config:
|
1449
|
orm_mode = True</code></pre>
|
1450
|
</details>
|
1451
|
<h3>Ancestors</h3>
|
1452
|
<ul class="hlist">
|
1453
|
<li><a title="sql_app.schemas.TeamCreate" href="#sql_app.schemas.TeamCreate">TeamCreate</a></li>
|
1454
|
<li><a title="sql_app.schemas.TeamBase" href="#sql_app.schemas.TeamBase">TeamBase</a></li>
|
1455
|
<li>pydantic.main.BaseModel</li>
|
1456
|
<li>pydantic.utils.Representation</li>
|
1457
|
</ul>
|
1458
|
<h3>Subclasses</h3>
|
1459
|
<ul class="hlist">
|
1460
|
<li>pydantic.main.Team</li>
|
1461
|
<li>pydantic.main.Team</li>
|
1462
|
</ul>
|
1463
|
<h3>Class variables</h3>
|
1464
|
<dl>
|
1465
|
<dt id="sql_app.schemas.Team.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1466
|
<dd>
|
1467
|
<div class="desc"></div>
|
1468
|
</dd>
|
1469
|
<dt id="sql_app.schemas.Team.devices"><code class="name">var <span class="ident">devices</span> : List[<a title="sql_app.schemas.Device" href="#sql_app.schemas.Device">Device</a>]</code></dt>
|
1470
|
<dd>
|
1471
|
<div class="desc"></div>
|
1472
|
</dd>
|
1473
|
<dt id="sql_app.schemas.Team.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1474
|
<dd>
|
1475
|
<div class="desc"></div>
|
1476
|
</dd>
|
1477
|
</dl>
|
1478
|
</dd>
|
1479
|
<dt id="sql_app.schemas.TeamBase"><code class="flex name class">
|
1480
|
<span>class <span class="ident">TeamBase</span></span>
|
1481
|
<span>(</span><span>**data: Any)</span>
|
1482
|
</code></dt>
|
1483
|
<dd>
|
1484
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1485
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1486
|
<details class="source">
|
1487
|
<summary>
|
1488
|
<span>Expand source code</span>
|
1489
|
</summary>
|
1490
|
<pre><code class="python">class TeamBase(BaseModel):
|
1491
|
name: str</code></pre>
|
1492
|
</details>
|
1493
|
<h3>Ancestors</h3>
|
1494
|
<ul class="hlist">
|
1495
|
<li>pydantic.main.BaseModel</li>
|
1496
|
<li>pydantic.utils.Representation</li>
|
1497
|
</ul>
|
1498
|
<h3>Subclasses</h3>
|
1499
|
<ul class="hlist">
|
1500
|
<li><a title="sql_app.schemas.TeamCreate" href="#sql_app.schemas.TeamCreate">TeamCreate</a></li>
|
1501
|
</ul>
|
1502
|
<h3>Class variables</h3>
|
1503
|
<dl>
|
1504
|
<dt id="sql_app.schemas.TeamBase.name"><code class="name">var <span class="ident">name</span> : str</code></dt>
|
1505
|
<dd>
|
1506
|
<div class="desc"></div>
|
1507
|
</dd>
|
1508
|
</dl>
|
1509
|
</dd>
|
1510
|
<dt id="sql_app.schemas.TeamCreate"><code class="flex name class">
|
1511
|
<span>class <span class="ident">TeamCreate</span></span>
|
1512
|
<span>(</span><span>**data: Any)</span>
|
1513
|
</code></dt>
|
1514
|
<dd>
|
1515
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1516
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1517
|
<details class="source">
|
1518
|
<summary>
|
1519
|
<span>Expand source code</span>
|
1520
|
</summary>
|
1521
|
<pre><code class="python">class TeamCreate(TeamBase):
|
1522
|
pass</code></pre>
|
1523
|
</details>
|
1524
|
<h3>Ancestors</h3>
|
1525
|
<ul class="hlist">
|
1526
|
<li><a title="sql_app.schemas.TeamBase" href="#sql_app.schemas.TeamBase">TeamBase</a></li>
|
1527
|
<li>pydantic.main.BaseModel</li>
|
1528
|
<li>pydantic.utils.Representation</li>
|
1529
|
</ul>
|
1530
|
<h3>Subclasses</h3>
|
1531
|
<ul class="hlist">
|
1532
|
<li><a title="sql_app.schemas.Team" href="#sql_app.schemas.Team">Team</a></li>
|
1533
|
</ul>
|
1534
|
</dd>
|
1535
|
<dt id="sql_app.schemas.USBLog"><code class="flex name class">
|
1536
|
<span>class <span class="ident">USBLog</span></span>
|
1537
|
<span>(</span><span>**data: Any)</span>
|
1538
|
</code></dt>
|
1539
|
<dd>
|
1540
|
<div class="desc"><p>Class used for creating and reading usb_logs entries</p>
|
1541
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1542
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1543
|
<details class="source">
|
1544
|
<summary>
|
1545
|
<span>Expand source code</span>
|
1546
|
</summary>
|
1547
|
<pre><code class="python">class USBLog(USBLogBase):
|
1548
|
"""
|
1549
|
Class used for creating and reading usb_logs entries
|
1550
|
"""
|
1551
|
id: int
|
1552
|
device_id: int
|
1553
|
pc_id: int
|
1554
|
|
1555
|
class Config:
|
1556
|
orm_mode = True</code></pre>
|
1557
|
</details>
|
1558
|
<h3>Ancestors</h3>
|
1559
|
<ul class="hlist">
|
1560
|
<li><a title="sql_app.schemas.USBLogBase" href="#sql_app.schemas.USBLogBase">USBLogBase</a></li>
|
1561
|
<li>pydantic.main.BaseModel</li>
|
1562
|
<li>pydantic.utils.Representation</li>
|
1563
|
</ul>
|
1564
|
<h3>Subclasses</h3>
|
1565
|
<ul class="hlist">
|
1566
|
<li>pydantic.main.USBLog</li>
|
1567
|
<li>pydantic.main.USBLog</li>
|
1568
|
<li>pydantic.main.USBLog</li>
|
1569
|
<li>pydantic.main.USBLog</li>
|
1570
|
<li>pydantic.main.USBLog</li>
|
1571
|
<li>pydantic.main.USBLog</li>
|
1572
|
<li>pydantic.main.USBLog</li>
|
1573
|
<li>pydantic.main.USBLog</li>
|
1574
|
<li>pydantic.main.USBLog</li>
|
1575
|
<li>pydantic.main.USBLog</li>
|
1576
|
<li>pydantic.main.USBLog</li>
|
1577
|
<li>pydantic.main.USBLog</li>
|
1578
|
<li>pydantic.main.USBLog</li>
|
1579
|
<li>pydantic.main.USBLog</li>
|
1580
|
<li>pydantic.main.USBLog</li>
|
1581
|
<li>pydantic.main.USBLog</li>
|
1582
|
<li>pydantic.main.USBLog</li>
|
1583
|
<li>pydantic.main.USBLog</li>
|
1584
|
<li>pydantic.main.USBLog</li>
|
1585
|
<li>pydantic.main.USBLog</li>
|
1586
|
<li>pydantic.main.USBLog</li>
|
1587
|
<li>pydantic.main.USBLog</li>
|
1588
|
<li>pydantic.main.USBLog</li>
|
1589
|
<li>pydantic.main.USBLog</li>
|
1590
|
</ul>
|
1591
|
<h3>Class variables</h3>
|
1592
|
<dl>
|
1593
|
<dt id="sql_app.schemas.USBLog.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1594
|
<dd>
|
1595
|
<div class="desc"></div>
|
1596
|
</dd>
|
1597
|
<dt id="sql_app.schemas.USBLog.device_id"><code class="name">var <span class="ident">device_id</span> : int</code></dt>
|
1598
|
<dd>
|
1599
|
<div class="desc"></div>
|
1600
|
</dd>
|
1601
|
<dt id="sql_app.schemas.USBLog.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1602
|
<dd>
|
1603
|
<div class="desc"></div>
|
1604
|
</dd>
|
1605
|
<dt id="sql_app.schemas.USBLog.pc_id"><code class="name">var <span class="ident">pc_id</span> : int</code></dt>
|
1606
|
<dd>
|
1607
|
<div class="desc"></div>
|
1608
|
</dd>
|
1609
|
</dl>
|
1610
|
</dd>
|
1611
|
<dt id="sql_app.schemas.USBLogBase"><code class="flex name class">
|
1612
|
<span>class <span class="ident">USBLogBase</span></span>
|
1613
|
<span>(</span><span>**data: Any)</span>
|
1614
|
</code></dt>
|
1615
|
<dd>
|
1616
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1617
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1618
|
<details class="source">
|
1619
|
<summary>
|
1620
|
<span>Expand source code</span>
|
1621
|
</summary>
|
1622
|
<pre><code class="python">class USBLogBase(BaseModel):
|
1623
|
timestamp: datetime
|
1624
|
status: str</code></pre>
|
1625
|
</details>
|
1626
|
<h3>Ancestors</h3>
|
1627
|
<ul class="hlist">
|
1628
|
<li>pydantic.main.BaseModel</li>
|
1629
|
<li>pydantic.utils.Representation</li>
|
1630
|
</ul>
|
1631
|
<h3>Subclasses</h3>
|
1632
|
<ul class="hlist">
|
1633
|
<li><a title="sql_app.schemas.USBLog" href="#sql_app.schemas.USBLog">USBLog</a></li>
|
1634
|
<li><a title="sql_app.schemas.USBLogCreate" href="#sql_app.schemas.USBLogCreate">USBLogCreate</a></li>
|
1635
|
</ul>
|
1636
|
<h3>Class variables</h3>
|
1637
|
<dl>
|
1638
|
<dt id="sql_app.schemas.USBLogBase.status"><code class="name">var <span class="ident">status</span> : str</code></dt>
|
1639
|
<dd>
|
1640
|
<div class="desc"></div>
|
1641
|
</dd>
|
1642
|
<dt id="sql_app.schemas.USBLogBase.timestamp"><code class="name">var <span class="ident">timestamp</span> : datetime.datetime</code></dt>
|
1643
|
<dd>
|
1644
|
<div class="desc"></div>
|
1645
|
</dd>
|
1646
|
</dl>
|
1647
|
</dd>
|
1648
|
<dt id="sql_app.schemas.USBLogCreate"><code class="flex name class">
|
1649
|
<span>class <span class="ident">USBLogCreate</span></span>
|
1650
|
<span>(</span><span>**data: Any)</span>
|
1651
|
</code></dt>
|
1652
|
<dd>
|
1653
|
<div class="desc"><p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1654
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1655
|
<details class="source">
|
1656
|
<summary>
|
1657
|
<span>Expand source code</span>
|
1658
|
</summary>
|
1659
|
<pre><code class="python">class USBLogCreate(USBLogBase):
|
1660
|
pass</code></pre>
|
1661
|
</details>
|
1662
|
<h3>Ancestors</h3>
|
1663
|
<ul class="hlist">
|
1664
|
<li><a title="sql_app.schemas.USBLogBase" href="#sql_app.schemas.USBLogBase">USBLogBase</a></li>
|
1665
|
<li>pydantic.main.BaseModel</li>
|
1666
|
<li>pydantic.utils.Representation</li>
|
1667
|
</ul>
|
1668
|
</dd>
|
1669
|
<dt id="sql_app.schemas.USBTemp"><code class="flex name class">
|
1670
|
<span>class <span class="ident">USBTemp</span></span>
|
1671
|
<span>(</span><span>**data: Any)</span>
|
1672
|
</code></dt>
|
1673
|
<dd>
|
1674
|
<div class="desc"><p>Class used for reading data from keyman detecting client messages</p>
|
1675
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1676
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1677
|
<details class="source">
|
1678
|
<summary>
|
1679
|
<span>Expand source code</span>
|
1680
|
</summary>
|
1681
|
<pre><code class="python">class USBTemp(USBTempBase):
|
1682
|
id: int
|
1683
|
device_id: int
|
1684
|
|
1685
|
class Config:
|
1686
|
orm_mode = True</code></pre>
|
1687
|
</details>
|
1688
|
<h3>Ancestors</h3>
|
1689
|
<ul class="hlist">
|
1690
|
<li><a title="sql_app.schemas.USBTempBase" href="#sql_app.schemas.USBTempBase">USBTempBase</a></li>
|
1691
|
<li>pydantic.main.BaseModel</li>
|
1692
|
<li>pydantic.utils.Representation</li>
|
1693
|
</ul>
|
1694
|
<h3>Class variables</h3>
|
1695
|
<dl>
|
1696
|
<dt id="sql_app.schemas.USBTemp.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1697
|
<dd>
|
1698
|
<div class="desc"></div>
|
1699
|
</dd>
|
1700
|
<dt id="sql_app.schemas.USBTemp.device_id"><code class="name">var <span class="ident">device_id</span> : int</code></dt>
|
1701
|
<dd>
|
1702
|
<div class="desc"></div>
|
1703
|
</dd>
|
1704
|
<dt id="sql_app.schemas.USBTemp.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1705
|
<dd>
|
1706
|
<div class="desc"></div>
|
1707
|
</dd>
|
1708
|
</dl>
|
1709
|
</dd>
|
1710
|
<dt id="sql_app.schemas.USBTempBase"><code class="flex name class">
|
1711
|
<span>class <span class="ident">USBTempBase</span></span>
|
1712
|
<span>(</span><span>**data: Any)</span>
|
1713
|
</code></dt>
|
1714
|
<dd>
|
1715
|
<div class="desc"><p>Class used for reading data from keyman detecting client messages</p>
|
1716
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1717
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1718
|
<details class="source">
|
1719
|
<summary>
|
1720
|
<span>Expand source code</span>
|
1721
|
</summary>
|
1722
|
<pre><code class="python">class USBTempBase(BaseModel):
|
1723
|
"""
|
1724
|
Class used for reading data from keyman detecting client messages
|
1725
|
"""
|
1726
|
username: str
|
1727
|
hostname: str
|
1728
|
timestamp: str
|
1729
|
device: DeviceTemp
|
1730
|
status: str</code></pre>
|
1731
|
</details>
|
1732
|
<h3>Ancestors</h3>
|
1733
|
<ul class="hlist">
|
1734
|
<li>pydantic.main.BaseModel</li>
|
1735
|
<li>pydantic.utils.Representation</li>
|
1736
|
</ul>
|
1737
|
<h3>Subclasses</h3>
|
1738
|
<ul class="hlist">
|
1739
|
<li><a title="sql_app.schemas.USBTemp" href="#sql_app.schemas.USBTemp">USBTemp</a></li>
|
1740
|
<li><a title="sql_app.schemas.USBTempCreate" href="#sql_app.schemas.USBTempCreate">USBTempCreate</a></li>
|
1741
|
</ul>
|
1742
|
<h3>Class variables</h3>
|
1743
|
<dl>
|
1744
|
<dt id="sql_app.schemas.USBTempBase.device"><code class="name">var <span class="ident">device</span> : <a title="sql_app.schemas.DeviceTemp" href="#sql_app.schemas.DeviceTemp">DeviceTemp</a></code></dt>
|
1745
|
<dd>
|
1746
|
<div class="desc"></div>
|
1747
|
</dd>
|
1748
|
<dt id="sql_app.schemas.USBTempBase.hostname"><code class="name">var <span class="ident">hostname</span> : str</code></dt>
|
1749
|
<dd>
|
1750
|
<div class="desc"></div>
|
1751
|
</dd>
|
1752
|
<dt id="sql_app.schemas.USBTempBase.status"><code class="name">var <span class="ident">status</span> : str</code></dt>
|
1753
|
<dd>
|
1754
|
<div class="desc"></div>
|
1755
|
</dd>
|
1756
|
<dt id="sql_app.schemas.USBTempBase.timestamp"><code class="name">var <span class="ident">timestamp</span> : str</code></dt>
|
1757
|
<dd>
|
1758
|
<div class="desc"></div>
|
1759
|
</dd>
|
1760
|
<dt id="sql_app.schemas.USBTempBase.username"><code class="name">var <span class="ident">username</span> : str</code></dt>
|
1761
|
<dd>
|
1762
|
<div class="desc"></div>
|
1763
|
</dd>
|
1764
|
</dl>
|
1765
|
</dd>
|
1766
|
<dt id="sql_app.schemas.USBTempCreate"><code class="flex name class">
|
1767
|
<span>class <span class="ident">USBTempCreate</span></span>
|
1768
|
<span>(</span><span>**data: Any)</span>
|
1769
|
</code></dt>
|
1770
|
<dd>
|
1771
|
<div class="desc"><p>Class used for reading data from keyman detecting client messages</p>
|
1772
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1773
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1774
|
<details class="source">
|
1775
|
<summary>
|
1776
|
<span>Expand source code</span>
|
1777
|
</summary>
|
1778
|
<pre><code class="python">class USBTempCreate(USBTempBase):
|
1779
|
pass</code></pre>
|
1780
|
</details>
|
1781
|
<h3>Ancestors</h3>
|
1782
|
<ul class="hlist">
|
1783
|
<li><a title="sql_app.schemas.USBTempBase" href="#sql_app.schemas.USBTempBase">USBTempBase</a></li>
|
1784
|
<li>pydantic.main.BaseModel</li>
|
1785
|
<li>pydantic.utils.Representation</li>
|
1786
|
</ul>
|
1787
|
</dd>
|
1788
|
<dt id="sql_app.schemas.User"><code class="flex name class">
|
1789
|
<span>class <span class="ident">User</span></span>
|
1790
|
<span>(</span><span>**data: Any)</span>
|
1791
|
</code></dt>
|
1792
|
<dd>
|
1793
|
<div class="desc"><p>Classes used for creating new User entry</p>
|
1794
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1795
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1796
|
<details class="source">
|
1797
|
<summary>
|
1798
|
<span>Expand source code</span>
|
1799
|
</summary>
|
1800
|
<pre><code class="python">class User(UserCreate):
|
1801
|
id: int
|
1802
|
|
1803
|
class Config:
|
1804
|
orm_mode = True</code></pre>
|
1805
|
</details>
|
1806
|
<h3>Ancestors</h3>
|
1807
|
<ul class="hlist">
|
1808
|
<li><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></li>
|
1809
|
<li><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></li>
|
1810
|
<li>pydantic.main.BaseModel</li>
|
1811
|
<li>pydantic.utils.Representation</li>
|
1812
|
</ul>
|
1813
|
<h3>Class variables</h3>
|
1814
|
<dl>
|
1815
|
<dt id="sql_app.schemas.User.Config"><code class="name">var <span class="ident">Config</span></code></dt>
|
1816
|
<dd>
|
1817
|
<div class="desc"></div>
|
1818
|
</dd>
|
1819
|
<dt id="sql_app.schemas.User.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
1820
|
<dd>
|
1821
|
<div class="desc"></div>
|
1822
|
</dd>
|
1823
|
</dl>
|
1824
|
</dd>
|
1825
|
<dt id="sql_app.schemas.UserBase"><code class="flex name class">
|
1826
|
<span>class <span class="ident">UserBase</span></span>
|
1827
|
<span>(</span><span>**data: Any)</span>
|
1828
|
</code></dt>
|
1829
|
<dd>
|
1830
|
<div class="desc"><p>Classes used for creating new User entry</p>
|
1831
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1832
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1833
|
<details class="source">
|
1834
|
<summary>
|
1835
|
<span>Expand source code</span>
|
1836
|
</summary>
|
1837
|
<pre><code class="python">class UserBase(BaseModel):
|
1838
|
"""
|
1839
|
Classes used for creating new User entry
|
1840
|
"""
|
1841
|
username: str
|
1842
|
password: str
|
1843
|
role: str</code></pre>
|
1844
|
</details>
|
1845
|
<h3>Ancestors</h3>
|
1846
|
<ul class="hlist">
|
1847
|
<li>pydantic.main.BaseModel</li>
|
1848
|
<li>pydantic.utils.Representation</li>
|
1849
|
</ul>
|
1850
|
<h3>Subclasses</h3>
|
1851
|
<ul class="hlist">
|
1852
|
<li><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></li>
|
1853
|
</ul>
|
1854
|
<h3>Class variables</h3>
|
1855
|
<dl>
|
1856
|
<dt id="sql_app.schemas.UserBase.password"><code class="name">var <span class="ident">password</span> : str</code></dt>
|
1857
|
<dd>
|
1858
|
<div class="desc"></div>
|
1859
|
</dd>
|
1860
|
<dt id="sql_app.schemas.UserBase.role"><code class="name">var <span class="ident">role</span> : str</code></dt>
|
1861
|
<dd>
|
1862
|
<div class="desc"></div>
|
1863
|
</dd>
|
1864
|
<dt id="sql_app.schemas.UserBase.username"><code class="name">var <span class="ident">username</span> : str</code></dt>
|
1865
|
<dd>
|
1866
|
<div class="desc"></div>
|
1867
|
</dd>
|
1868
|
</dl>
|
1869
|
</dd>
|
1870
|
<dt id="sql_app.schemas.UserCreate"><code class="flex name class">
|
1871
|
<span>class <span class="ident">UserCreate</span></span>
|
1872
|
<span>(</span><span>**data: Any)</span>
|
1873
|
</code></dt>
|
1874
|
<dd>
|
1875
|
<div class="desc"><p>Classes used for creating new User entry</p>
|
1876
|
<p>Create a new model by parsing and validating input data from keyword arguments.</p>
|
1877
|
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div>
|
1878
|
<details class="source">
|
1879
|
<summary>
|
1880
|
<span>Expand source code</span>
|
1881
|
</summary>
|
1882
|
<pre><code class="python">class UserCreate(UserBase):
|
1883
|
pass</code></pre>
|
1884
|
</details>
|
1885
|
<h3>Ancestors</h3>
|
1886
|
<ul class="hlist">
|
1887
|
<li><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></li>
|
1888
|
<li>pydantic.main.BaseModel</li>
|
1889
|
<li>pydantic.utils.Representation</li>
|
1890
|
</ul>
|
1891
|
<h3>Subclasses</h3>
|
1892
|
<ul class="hlist">
|
1893
|
<li><a title="sql_app.schemas.User" href="#sql_app.schemas.User">User</a></li>
|
1894
|
</ul>
|
1895
|
</dd>
|
1896
|
</dl>
|
1897
|
</section>
|
1898
|
</article>
|
1899
|
<nav id="sidebar">
|
1900
|
<h1>Index</h1>
|
1901
|
<div class="toc">
|
1902
|
<ul></ul>
|
1903
|
</div>
|
1904
|
<ul id="index">
|
1905
|
<li><h3>Super-module</h3>
|
1906
|
<ul>
|
1907
|
<li><code><a title="sql_app" href="index.html">sql_app</a></code></li>
|
1908
|
</ul>
|
1909
|
</li>
|
1910
|
<li><h3><a href="#header-classes">Classes</a></h3>
|
1911
|
<ul>
|
1912
|
<li>
|
1913
|
<h4><code><a title="sql_app.schemas.BodyDevice" href="#sql_app.schemas.BodyDevice">BodyDevice</a></code></h4>
|
1914
|
<ul class="">
|
1915
|
<li><code><a title="sql_app.schemas.BodyDevice.Config" href="#sql_app.schemas.BodyDevice.Config">Config</a></code></li>
|
1916
|
<li><code><a title="sql_app.schemas.BodyDevice.id" href="#sql_app.schemas.BodyDevice.id">id</a></code></li>
|
1917
|
<li><code><a title="sql_app.schemas.BodyDevice.logs" href="#sql_app.schemas.BodyDevice.logs">logs</a></code></li>
|
1918
|
</ul>
|
1919
|
</li>
|
1920
|
<li>
|
1921
|
<h4><code><a title="sql_app.schemas.BodyDeviceBase" href="#sql_app.schemas.BodyDeviceBase">BodyDeviceBase</a></code></h4>
|
1922
|
<ul class="">
|
1923
|
<li><code><a title="sql_app.schemas.BodyDeviceBase.comment" href="#sql_app.schemas.BodyDeviceBase.comment">comment</a></code></li>
|
1924
|
<li><code><a title="sql_app.schemas.BodyDeviceBase.inventory_number" href="#sql_app.schemas.BodyDeviceBase.inventory_number">inventory_number</a></code></li>
|
1925
|
<li><code><a title="sql_app.schemas.BodyDeviceBase.serial_number" href="#sql_app.schemas.BodyDeviceBase.serial_number">serial_number</a></code></li>
|
1926
|
</ul>
|
1927
|
</li>
|
1928
|
<li>
|
1929
|
<h4><code><a title="sql_app.schemas.BodyDeviceCreate" href="#sql_app.schemas.BodyDeviceCreate">BodyDeviceCreate</a></code></h4>
|
1930
|
</li>
|
1931
|
<li>
|
1932
|
<h4><code><a title="sql_app.schemas.BodyDeviceTemp" href="#sql_app.schemas.BodyDeviceTemp">BodyDeviceTemp</a></code></h4>
|
1933
|
<ul class="">
|
1934
|
<li><code><a title="sql_app.schemas.BodyDeviceTemp.serial_number" href="#sql_app.schemas.BodyDeviceTemp.serial_number">serial_number</a></code></li>
|
1935
|
</ul>
|
1936
|
</li>
|
1937
|
<li>
|
1938
|
<h4><code><a title="sql_app.schemas.Device" href="#sql_app.schemas.Device">Device</a></code></h4>
|
1939
|
<ul class="">
|
1940
|
<li><code><a title="sql_app.schemas.Device.Config" href="#sql_app.schemas.Device.Config">Config</a></code></li>
|
1941
|
<li><code><a title="sql_app.schemas.Device.id" href="#sql_app.schemas.Device.id">id</a></code></li>
|
1942
|
<li><code><a title="sql_app.schemas.Device.licenses" href="#sql_app.schemas.Device.licenses">licenses</a></code></li>
|
1943
|
<li><code><a title="sql_app.schemas.Device.logs" href="#sql_app.schemas.Device.logs">logs</a></code></li>
|
1944
|
</ul>
|
1945
|
</li>
|
1946
|
<li>
|
1947
|
<h4><code><a title="sql_app.schemas.DeviceBase" href="#sql_app.schemas.DeviceBase">DeviceBase</a></code></h4>
|
1948
|
<ul class="">
|
1949
|
<li><code><a title="sql_app.schemas.DeviceBase.comment" href="#sql_app.schemas.DeviceBase.comment">comment</a></code></li>
|
1950
|
<li><code><a title="sql_app.schemas.DeviceBase.inventory_number" href="#sql_app.schemas.DeviceBase.inventory_number">inventory_number</a></code></li>
|
1951
|
<li><code><a title="sql_app.schemas.DeviceBase.product_id" href="#sql_app.schemas.DeviceBase.product_id">product_id</a></code></li>
|
1952
|
<li><code><a title="sql_app.schemas.DeviceBase.serial_number" href="#sql_app.schemas.DeviceBase.serial_number">serial_number</a></code></li>
|
1953
|
<li><code><a title="sql_app.schemas.DeviceBase.vendor_id" href="#sql_app.schemas.DeviceBase.vendor_id">vendor_id</a></code></li>
|
1954
|
</ul>
|
1955
|
</li>
|
1956
|
<li>
|
1957
|
<h4><code><a title="sql_app.schemas.DeviceCreate" href="#sql_app.schemas.DeviceCreate">DeviceCreate</a></code></h4>
|
1958
|
</li>
|
1959
|
<li>
|
1960
|
<h4><code><a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a></code></h4>
|
1961
|
<ul class="">
|
1962
|
<li><code><a title="sql_app.schemas.DeviceLicense.Config" href="#sql_app.schemas.DeviceLicense.Config">Config</a></code></li>
|
1963
|
<li><code><a title="sql_app.schemas.DeviceLicense.id" href="#sql_app.schemas.DeviceLicense.id">id</a></code></li>
|
1964
|
</ul>
|
1965
|
</li>
|
1966
|
<li>
|
1967
|
<h4><code><a title="sql_app.schemas.DeviceLicenseBase" href="#sql_app.schemas.DeviceLicenseBase">DeviceLicenseBase</a></code></h4>
|
1968
|
<ul class="">
|
1969
|
<li><code><a title="sql_app.schemas.DeviceLicenseBase.assigned_datetime" href="#sql_app.schemas.DeviceLicenseBase.assigned_datetime">assigned_datetime</a></code></li>
|
1970
|
<li><code><a title="sql_app.schemas.DeviceLicenseBase.device_id" href="#sql_app.schemas.DeviceLicenseBase.device_id">device_id</a></code></li>
|
1971
|
<li><code><a title="sql_app.schemas.DeviceLicenseBase.license_id" href="#sql_app.schemas.DeviceLicenseBase.license_id">license_id</a></code></li>
|
1972
|
</ul>
|
1973
|
</li>
|
1974
|
<li>
|
1975
|
<h4><code><a title="sql_app.schemas.DeviceLicenseCreate" href="#sql_app.schemas.DeviceLicenseCreate">DeviceLicenseCreate</a></code></h4>
|
1976
|
</li>
|
1977
|
<li>
|
1978
|
<h4><code><a title="sql_app.schemas.DeviceTemp" href="#sql_app.schemas.DeviceTemp">DeviceTemp</a></code></h4>
|
1979
|
<ul class="">
|
1980
|
<li><code><a title="sql_app.schemas.DeviceTemp.product_id" href="#sql_app.schemas.DeviceTemp.product_id">product_id</a></code></li>
|
1981
|
<li><code><a title="sql_app.schemas.DeviceTemp.serial_number" href="#sql_app.schemas.DeviceTemp.serial_number">serial_number</a></code></li>
|
1982
|
<li><code><a title="sql_app.schemas.DeviceTemp.vendor_id" href="#sql_app.schemas.DeviceTemp.vendor_id">vendor_id</a></code></li>
|
1983
|
</ul>
|
1984
|
</li>
|
1985
|
<li>
|
1986
|
<h4><code><a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a></code></h4>
|
1987
|
<ul class="">
|
1988
|
<li><code><a title="sql_app.schemas.HeadDevice.Config" href="#sql_app.schemas.HeadDevice.Config">Config</a></code></li>
|
1989
|
<li><code><a title="sql_app.schemas.HeadDevice.id" href="#sql_app.schemas.HeadDevice.id">id</a></code></li>
|
1990
|
<li><code><a title="sql_app.schemas.HeadDevice.logs" href="#sql_app.schemas.HeadDevice.logs">logs</a></code></li>
|
1991
|
</ul>
|
1992
|
</li>
|
1993
|
<li>
|
1994
|
<h4><code><a title="sql_app.schemas.HeadDeviceBase" href="#sql_app.schemas.HeadDeviceBase">HeadDeviceBase</a></code></h4>
|
1995
|
<ul class="">
|
1996
|
<li><code><a title="sql_app.schemas.HeadDeviceBase.comment" href="#sql_app.schemas.HeadDeviceBase.comment">comment</a></code></li>
|
1997
|
<li><code><a title="sql_app.schemas.HeadDeviceBase.inventory_number" href="#sql_app.schemas.HeadDeviceBase.inventory_number">inventory_number</a></code></li>
|
1998
|
<li><code><a title="sql_app.schemas.HeadDeviceBase.serial_number" href="#sql_app.schemas.HeadDeviceBase.serial_number">serial_number</a></code></li>
|
1999
|
</ul>
|
2000
|
</li>
|
2001
|
<li>
|
2002
|
<h4><code><a title="sql_app.schemas.HeadDeviceCreate" href="#sql_app.schemas.HeadDeviceCreate">HeadDeviceCreate</a></code></h4>
|
2003
|
</li>
|
2004
|
<li>
|
2005
|
<h4><code><a title="sql_app.schemas.HeadDeviceTemp" href="#sql_app.schemas.HeadDeviceTemp">HeadDeviceTemp</a></code></h4>
|
2006
|
<ul class="">
|
2007
|
<li><code><a title="sql_app.schemas.HeadDeviceTemp.serial_number" href="#sql_app.schemas.HeadDeviceTemp.serial_number">serial_number</a></code></li>
|
2008
|
</ul>
|
2009
|
</li>
|
2010
|
<li>
|
2011
|
<h4><code><a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a></code></h4>
|
2012
|
<ul class="">
|
2013
|
<li><code><a title="sql_app.schemas.LDLog.Config" href="#sql_app.schemas.LDLog.Config">Config</a></code></li>
|
2014
|
<li><code><a title="sql_app.schemas.LDLog.body_id" href="#sql_app.schemas.LDLog.body_id">body_id</a></code></li>
|
2015
|
<li><code><a title="sql_app.schemas.LDLog.head_id" href="#sql_app.schemas.LDLog.head_id">head_id</a></code></li>
|
2016
|
<li><code><a title="sql_app.schemas.LDLog.id" href="#sql_app.schemas.LDLog.id">id</a></code></li>
|
2017
|
</ul>
|
2018
|
</li>
|
2019
|
<li>
|
2020
|
<h4><code><a title="sql_app.schemas.LDLogBase" href="#sql_app.schemas.LDLogBase">LDLogBase</a></code></h4>
|
2021
|
<ul class="">
|
2022
|
<li><code><a title="sql_app.schemas.LDLogBase.status" href="#sql_app.schemas.LDLogBase.status">status</a></code></li>
|
2023
|
<li><code><a title="sql_app.schemas.LDLogBase.timestamp" href="#sql_app.schemas.LDLogBase.timestamp">timestamp</a></code></li>
|
2024
|
</ul>
|
2025
|
</li>
|
2026
|
<li>
|
2027
|
<h4><code><a title="sql_app.schemas.LDLogCreate" href="#sql_app.schemas.LDLogCreate">LDLogCreate</a></code></h4>
|
2028
|
</li>
|
2029
|
<li>
|
2030
|
<h4><code><a title="sql_app.schemas.LDTemp" href="#sql_app.schemas.LDTemp">LDTemp</a></code></h4>
|
2031
|
<ul class="">
|
2032
|
<li><code><a title="sql_app.schemas.LDTemp.Config" href="#sql_app.schemas.LDTemp.Config">Config</a></code></li>
|
2033
|
<li><code><a title="sql_app.schemas.LDTemp.body_id" href="#sql_app.schemas.LDTemp.body_id">body_id</a></code></li>
|
2034
|
<li><code><a title="sql_app.schemas.LDTemp.head_id" href="#sql_app.schemas.LDTemp.head_id">head_id</a></code></li>
|
2035
|
<li><code><a title="sql_app.schemas.LDTemp.id" href="#sql_app.schemas.LDTemp.id">id</a></code></li>
|
2036
|
</ul>
|
2037
|
</li>
|
2038
|
<li>
|
2039
|
<h4><code><a title="sql_app.schemas.LDTempBase" href="#sql_app.schemas.LDTempBase">LDTempBase</a></code></h4>
|
2040
|
<ul class="two-column">
|
2041
|
<li><code><a title="sql_app.schemas.LDTempBase.body_device" href="#sql_app.schemas.LDTempBase.body_device">body_device</a></code></li>
|
2042
|
<li><code><a title="sql_app.schemas.LDTempBase.head_device" href="#sql_app.schemas.LDTempBase.head_device">head_device</a></code></li>
|
2043
|
<li><code><a title="sql_app.schemas.LDTempBase.hostname" href="#sql_app.schemas.LDTempBase.hostname">hostname</a></code></li>
|
2044
|
<li><code><a title="sql_app.schemas.LDTempBase.status" href="#sql_app.schemas.LDTempBase.status">status</a></code></li>
|
2045
|
<li><code><a title="sql_app.schemas.LDTempBase.timestamp" href="#sql_app.schemas.LDTempBase.timestamp">timestamp</a></code></li>
|
2046
|
<li><code><a title="sql_app.schemas.LDTempBase.username" href="#sql_app.schemas.LDTempBase.username">username</a></code></li>
|
2047
|
</ul>
|
2048
|
</li>
|
2049
|
<li>
|
2050
|
<h4><code><a title="sql_app.schemas.LDTempCreate" href="#sql_app.schemas.LDTempCreate">LDTempCreate</a></code></h4>
|
2051
|
</li>
|
2052
|
<li>
|
2053
|
<h4><code><a title="sql_app.schemas.License" href="#sql_app.schemas.License">License</a></code></h4>
|
2054
|
<ul class="">
|
2055
|
<li><code><a title="sql_app.schemas.License.Config" href="#sql_app.schemas.License.Config">Config</a></code></li>
|
2056
|
<li><code><a title="sql_app.schemas.License.body_devices" href="#sql_app.schemas.License.body_devices">body_devices</a></code></li>
|
2057
|
<li><code><a title="sql_app.schemas.License.devices" href="#sql_app.schemas.License.devices">devices</a></code></li>
|
2058
|
<li><code><a title="sql_app.schemas.License.head_devices" href="#sql_app.schemas.License.head_devices">head_devices</a></code></li>
|
2059
|
<li><code><a title="sql_app.schemas.License.id" href="#sql_app.schemas.License.id">id</a></code></li>
|
2060
|
</ul>
|
2061
|
</li>
|
2062
|
<li>
|
2063
|
<h4><code><a title="sql_app.schemas.LicenseBase" href="#sql_app.schemas.LicenseBase">LicenseBase</a></code></h4>
|
2064
|
<ul class="">
|
2065
|
<li><code><a title="sql_app.schemas.LicenseBase.expiration_date" href="#sql_app.schemas.LicenseBase.expiration_date">expiration_date</a></code></li>
|
2066
|
<li><code><a title="sql_app.schemas.LicenseBase.license_id" href="#sql_app.schemas.LicenseBase.license_id">license_id</a></code></li>
|
2067
|
<li><code><a title="sql_app.schemas.LicenseBase.name" href="#sql_app.schemas.LicenseBase.name">name</a></code></li>
|
2068
|
</ul>
|
2069
|
</li>
|
2070
|
<li>
|
2071
|
<h4><code><a title="sql_app.schemas.LicenseCreate" href="#sql_app.schemas.LicenseCreate">LicenseCreate</a></code></h4>
|
2072
|
</li>
|
2073
|
<li>
|
2074
|
<h4><code><a title="sql_app.schemas.PC" href="#sql_app.schemas.PC">PC</a></code></h4>
|
2075
|
<ul class="">
|
2076
|
<li><code><a title="sql_app.schemas.PC.Config" href="#sql_app.schemas.PC.Config">Config</a></code></li>
|
2077
|
<li><code><a title="sql_app.schemas.PC.id" href="#sql_app.schemas.PC.id">id</a></code></li>
|
2078
|
<li><code><a title="sql_app.schemas.PC.logs_ld" href="#sql_app.schemas.PC.logs_ld">logs_ld</a></code></li>
|
2079
|
<li><code><a title="sql_app.schemas.PC.logs_pc" href="#sql_app.schemas.PC.logs_pc">logs_pc</a></code></li>
|
2080
|
</ul>
|
2081
|
</li>
|
2082
|
<li>
|
2083
|
<h4><code><a title="sql_app.schemas.PCBase" href="#sql_app.schemas.PCBase">PCBase</a></code></h4>
|
2084
|
<ul class="">
|
2085
|
<li><code><a title="sql_app.schemas.PCBase.hostname" href="#sql_app.schemas.PCBase.hostname">hostname</a></code></li>
|
2086
|
<li><code><a title="sql_app.schemas.PCBase.username" href="#sql_app.schemas.PCBase.username">username</a></code></li>
|
2087
|
</ul>
|
2088
|
</li>
|
2089
|
<li>
|
2090
|
<h4><code><a title="sql_app.schemas.PCCreate" href="#sql_app.schemas.PCCreate">PCCreate</a></code></h4>
|
2091
|
</li>
|
2092
|
<li>
|
2093
|
<h4><code><a title="sql_app.schemas.Team" href="#sql_app.schemas.Team">Team</a></code></h4>
|
2094
|
<ul class="">
|
2095
|
<li><code><a title="sql_app.schemas.Team.Config" href="#sql_app.schemas.Team.Config">Config</a></code></li>
|
2096
|
<li><code><a title="sql_app.schemas.Team.devices" href="#sql_app.schemas.Team.devices">devices</a></code></li>
|
2097
|
<li><code><a title="sql_app.schemas.Team.id" href="#sql_app.schemas.Team.id">id</a></code></li>
|
2098
|
</ul>
|
2099
|
</li>
|
2100
|
<li>
|
2101
|
<h4><code><a title="sql_app.schemas.TeamBase" href="#sql_app.schemas.TeamBase">TeamBase</a></code></h4>
|
2102
|
<ul class="">
|
2103
|
<li><code><a title="sql_app.schemas.TeamBase.name" href="#sql_app.schemas.TeamBase.name">name</a></code></li>
|
2104
|
</ul>
|
2105
|
</li>
|
2106
|
<li>
|
2107
|
<h4><code><a title="sql_app.schemas.TeamCreate" href="#sql_app.schemas.TeamCreate">TeamCreate</a></code></h4>
|
2108
|
</li>
|
2109
|
<li>
|
2110
|
<h4><code><a title="sql_app.schemas.USBLog" href="#sql_app.schemas.USBLog">USBLog</a></code></h4>
|
2111
|
<ul class="">
|
2112
|
<li><code><a title="sql_app.schemas.USBLog.Config" href="#sql_app.schemas.USBLog.Config">Config</a></code></li>
|
2113
|
<li><code><a title="sql_app.schemas.USBLog.device_id" href="#sql_app.schemas.USBLog.device_id">device_id</a></code></li>
|
2114
|
<li><code><a title="sql_app.schemas.USBLog.id" href="#sql_app.schemas.USBLog.id">id</a></code></li>
|
2115
|
<li><code><a title="sql_app.schemas.USBLog.pc_id" href="#sql_app.schemas.USBLog.pc_id">pc_id</a></code></li>
|
2116
|
</ul>
|
2117
|
</li>
|
2118
|
<li>
|
2119
|
<h4><code><a title="sql_app.schemas.USBLogBase" href="#sql_app.schemas.USBLogBase">USBLogBase</a></code></h4>
|
2120
|
<ul class="">
|
2121
|
<li><code><a title="sql_app.schemas.USBLogBase.status" href="#sql_app.schemas.USBLogBase.status">status</a></code></li>
|
2122
|
<li><code><a title="sql_app.schemas.USBLogBase.timestamp" href="#sql_app.schemas.USBLogBase.timestamp">timestamp</a></code></li>
|
2123
|
</ul>
|
2124
|
</li>
|
2125
|
<li>
|
2126
|
<h4><code><a title="sql_app.schemas.USBLogCreate" href="#sql_app.schemas.USBLogCreate">USBLogCreate</a></code></h4>
|
2127
|
</li>
|
2128
|
<li>
|
2129
|
<h4><code><a title="sql_app.schemas.USBTemp" href="#sql_app.schemas.USBTemp">USBTemp</a></code></h4>
|
2130
|
<ul class="">
|
2131
|
<li><code><a title="sql_app.schemas.USBTemp.Config" href="#sql_app.schemas.USBTemp.Config">Config</a></code></li>
|
2132
|
<li><code><a title="sql_app.schemas.USBTemp.device_id" href="#sql_app.schemas.USBTemp.device_id">device_id</a></code></li>
|
2133
|
<li><code><a title="sql_app.schemas.USBTemp.id" href="#sql_app.schemas.USBTemp.id">id</a></code></li>
|
2134
|
</ul>
|
2135
|
</li>
|
2136
|
<li>
|
2137
|
<h4><code><a title="sql_app.schemas.USBTempBase" href="#sql_app.schemas.USBTempBase">USBTempBase</a></code></h4>
|
2138
|
<ul class="">
|
2139
|
<li><code><a title="sql_app.schemas.USBTempBase.device" href="#sql_app.schemas.USBTempBase.device">device</a></code></li>
|
2140
|
<li><code><a title="sql_app.schemas.USBTempBase.hostname" href="#sql_app.schemas.USBTempBase.hostname">hostname</a></code></li>
|
2141
|
<li><code><a title="sql_app.schemas.USBTempBase.status" href="#sql_app.schemas.USBTempBase.status">status</a></code></li>
|
2142
|
<li><code><a title="sql_app.schemas.USBTempBase.timestamp" href="#sql_app.schemas.USBTempBase.timestamp">timestamp</a></code></li>
|
2143
|
<li><code><a title="sql_app.schemas.USBTempBase.username" href="#sql_app.schemas.USBTempBase.username">username</a></code></li>
|
2144
|
</ul>
|
2145
|
</li>
|
2146
|
<li>
|
2147
|
<h4><code><a title="sql_app.schemas.USBTempCreate" href="#sql_app.schemas.USBTempCreate">USBTempCreate</a></code></h4>
|
2148
|
</li>
|
2149
|
<li>
|
2150
|
<h4><code><a title="sql_app.schemas.User" href="#sql_app.schemas.User">User</a></code></h4>
|
2151
|
<ul class="">
|
2152
|
<li><code><a title="sql_app.schemas.User.Config" href="#sql_app.schemas.User.Config">Config</a></code></li>
|
2153
|
<li><code><a title="sql_app.schemas.User.id" href="#sql_app.schemas.User.id">id</a></code></li>
|
2154
|
</ul>
|
2155
|
</li>
|
2156
|
<li>
|
2157
|
<h4><code><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></code></h4>
|
2158
|
<ul class="">
|
2159
|
<li><code><a title="sql_app.schemas.UserBase.password" href="#sql_app.schemas.UserBase.password">password</a></code></li>
|
2160
|
<li><code><a title="sql_app.schemas.UserBase.role" href="#sql_app.schemas.UserBase.role">role</a></code></li>
|
2161
|
<li><code><a title="sql_app.schemas.UserBase.username" href="#sql_app.schemas.UserBase.username">username</a></code></li>
|
2162
|
</ul>
|
2163
|
</li>
|
2164
|
<li>
|
2165
|
<h4><code><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></code></h4>
|
2166
|
</li>
|
2167
|
</ul>
|
2168
|
</li>
|
2169
|
</ul>
|
2170
|
</nav>
|
2171
|
</main>
|
2172
|
<footer id="footer">
|
2173
|
<p>Generated by <a href="https://pdoc3.github.io/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc</cite> 0.10.0</a>.</p>
|
2174
|
</footer>
|
2175
|
</body>
|
2176
|
</html>
|