Skip to content

Commit

Permalink
Add FastAPI (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
hard-coders authored Jan 28, 2021
1 parent f19c3a6 commit 88f65d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@
}
},
"programming": {
"framework": {
"Fastapi": "FastAPI"
},
"language": {
"Javascript": "JavaScript",
"Nodejs": "NodeJS",
Expand Down
6 changes: 6 additions & 0 deletions diagrams/programming/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class Ember(_Framework):
_icon = "ember.png"


class Fastapi(_Framework):
_icon = "fastapi.png"


class Flask(_Framework):
_icon = "flask.png"

Expand Down Expand Up @@ -57,3 +61,5 @@ class Vue(_Framework):


# Aliases

FastAPI = Fastapi
1 change: 1 addition & 0 deletions docs/nodes/programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Node classes list of programming provider.
- **diagrams.programming.framework.Backbone**
- **diagrams.programming.framework.Django**
- **diagrams.programming.framework.Ember**
- **diagrams.programming.framework.Fastapi**, **FastAPI** (alias)
- **diagrams.programming.framework.Flask**
- **diagrams.programming.framework.Flutter**
- **diagrams.programming.framework.Laravel**
Expand Down
Binary file added resources/programming/framework/fastapi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 88f65d2

Please sign in to comment.