forked from mirrors/thatmattlove-hyperglass
fix formatting
This commit is contained in:
parent
b0b6b67c5c
commit
19e3cc0ab1
3 changed files with 3 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ class Query(BaseModel):
|
|||
|
||||
@property
|
||||
def device(self):
|
||||
"""Get this query's device object by query_location."""
|
||||
return getattr(devices, self.query_location)
|
||||
|
||||
def export_dict(self):
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ class QueryResponse(BaseModel):
|
|||
"example": "2020-04-18 14:45:37",
|
||||
},
|
||||
"format": {
|
||||
# "alias": "format",
|
||||
"title": "Format",
|
||||
"description": "Response [MIME Type](http://www.iana.org/assignments/media-types/media-types.xhtml). Supported values: `text/plain` and `application/json`.",
|
||||
"example": "text/plain",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
"""Map NOS and Commands to Parsing Functions."""
|
||||
|
||||
# Project
|
||||
from hyperglass.parsing.juniper import parse_juniper
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue