Richard Bowman
9dbb083ee7
More Marshmallow argument updates
2022-08-09 13:16:10 +01:00
Richard Bowman
e22f36b308
Start explicit metadata argument for marshmallow
...
A side effect of re-locking dependencies is having a newer marshmallow.
This deprecates having `description=` as a keyword, and puts it in a
separate metadata arg instead.
This commit is the start of my search-and-replaceing to update to the new
format.
2022-08-09 12:52:57 +01:00
Richard
7b54abc210
blackened
2021-07-19 22:22:58 +01:00
Richard
ec992c083f
Describe filename param in capture download
2021-07-19 21:40:28 +01:00
Richard
b7c9d3b73b
Sorted remaining content_type issues and blackened
2021-07-19 20:09:09 +01:00
Joel Collins
bc3927759f
Handle missing endpoints
2020-11-30 17:10:00 +00:00
Joel Collins
7866ec0f47
Static type analysis
2020-11-30 13:36:45 +00:00
Joel Collins
84dcf4f475
Cleaned up Capture schemas
2020-11-13 11:12:39 +00:00
Joel Collins
f4b123c237
Style and linting
2020-11-12 14:28:44 +00:00
Joel Collins
b350f62013
Removed old JSONResponse class
2020-11-12 13:50:48 +00:00
Joel Collins
32cf2de96e
Formatting
2020-11-03 16:11:37 +00:00
Joel Collins
b69c90345f
Removed full capture metadata from top-level resource list
2020-11-03 15:45:00 +00:00
Joel Collins
353450dd56
Fixed capture link generator when passed a dict
2020-10-28 10:47:10 +00:00
Joel Collins
b3332c078d
Fixed misuse of id name
2020-10-16 14:53:02 +01:00
Joel Collins
994e83dbeb
Code cleanup
2020-10-14 14:56:29 +00:00
Joel Collins
2bfb988460
Code formatting
2020-10-13 15:02:19 +01:00
Joel Collins
54c342bbbb
Switch to picamerax
2020-09-07 16:31:59 +01:00
Joel Collins
ee738d5319
Fixed capture marshalling
2020-07-21 11:57:41 +01:00
Joel Collins
e6cb9f6b35
Initial 0.7.0 conversion
2020-06-29 15:24:59 +01:00
Joel Collins
1819ca6a9c
Switched to ActionView and PropertyView from decorators
2020-05-26 10:54:21 +01:00
Joel Collins
a34214b9fb
Fixed broken references to capture list
2020-04-28 14:47:22 +01:00
Joel Collins
cda5cdbb44
Switched away from using JSONify
2020-04-24 16:05:01 +01:00
Joel Collins
093e5a0a7a
Fixed broken delete argument (capture_id instead of id)
2020-03-17 17:15:52 +00:00
Joel Collins
60c6ae72f8
Handle captures as an OrderedDict. Fixes file deletion
2020-03-01 17:57:30 +00:00
jtc42
f2588a506e
Add more complete Capture object schemas
2020-02-07 17:05:30 +00:00
Joel Collins
e9e2419fe4
Renamed capture.filename to capture.name
2020-01-29 16:21:38 +00:00
Joel Collins
7458d278d8
Simplified new configuration and metadata
2020-01-29 15:36:57 +00:00
jtc42
6df7fe9405
Blackened
2020-01-24 15:41:33 +00:00
jtc42
36334ed743
Moved to a LabThings dependency for server
2020-01-17 15:13:32 +00:00
Joel Collins
aa4445de7a
Fixed borked metadata PUT validation
2020-01-14 15:07:06 +00:00
Joel Collins
a329b9197b
Renamed Resource to View, and allow custom root links
2020-01-14 11:41:56 +00:00
Joel Collins
9faa05aec1
Added missing API documentation
2020-01-13 16:24:32 +00:00
Joel Collins
4003e4e65c
Renamed devices to components
2020-01-13 11:08:05 +00:00
Joel Collins
8a282db12b
Moved to collision-robust device name
2020-01-09 20:04:22 +00:00
jtc42
ab6fa9f0e5
Blackened
2020-01-03 00:21:16 +00:00
jtc42
4918215ea7
Tested Field description
2020-01-02 23:36:59 +00:00
jtc42
c85bdcc91d
Blackened
2019-12-21 17:40:04 +00:00
jtc42
2574e38b47
Tidied up
2019-12-21 17:38:29 +00:00
jtc42
4793de1283
Generate links at pre_dump time
2019-12-21 17:37:21 +00:00
jtc42
2372ba26e1
Added some basic docs (waiting on auto-doc for args)
2019-12-21 13:18:02 +00:00
jtc42
a8a3cafa97
Restructured labthings
2019-12-21 12:10:09 +00:00
Joel Collins
f2af359b8b
Added basic thing description to root
2019-12-18 14:30:33 +00:00
Joel Collins
74f1d55bb2
Added capture resources to new system
2019-12-18 11:55:51 +00:00