Code formatting
This commit is contained in:
parent
0234b20ce3
commit
2bfb988460
60 changed files with 392 additions and 396 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from labthings import Schema, fields, find_component
|
||||
from labthings.extensions import BaseExtension
|
||||
from labthings import find_component, Schema, fields
|
||||
from labthings.views import View
|
||||
|
||||
## Extension methods
|
||||
|
|
@ -26,6 +26,7 @@ def rename(microscope, new_name):
|
|||
|
||||
## Extension views
|
||||
|
||||
|
||||
class ExampleIdentifyView(View):
|
||||
# Format our returned object using MicroscopeIdentifySchema
|
||||
schema = MicroscopeIdentifySchema()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue