Skip to content

Commit

Permalink
Add nbx handler
Browse files Browse the repository at this point in the history
  • Loading branch information
devdupont committed Oct 29, 2023
1 parent f7892f4 commit 2f550b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions avwx_api/api/forecast.py
Expand Up @@ -16,6 +16,7 @@
"nbh": handle.NbhHandler,
"nbs": handle.NbsHandler,
"nbe": handle.NbeHandler,
"nbx": handle.NbxHandler,
}


Expand Down
4 changes: 4 additions & 0 deletions avwx_api/handle/forecast.py
Expand Up @@ -27,3 +27,7 @@ class NbsHandler(ReportHandler):

class NbeHandler(ReportHandler):
parser = avwx.Nbe


class NbxHandler(ReportHandler):
parser = avwx.Nbx
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,6 +1,6 @@
git+https://github.com/avwx-rest/avwx-api-core@a7fc3c9cba08361ebc0bb0bc8c9e711d310146af

avwx-engine[all]==1.8.24
avwx-engine[all]==1.8.25
hypercorn~=0.14
python-dotenv~=1.0
rollbar>=0.16
Expand Down

0 comments on commit 2f550b3

Please sign in to comment.