From 88f65d208d7066df80a36f936aae15fd43f863ca Mon Sep 17 00:00:00 2001 From: hard_coder Date: Thu, 28 Jan 2021 20:07:24 +0900 Subject: [PATCH] Add FastAPI (#380) --- config.py | 3 +++ diagrams/programming/framework.py | 6 ++++++ docs/nodes/programming.md | 1 + resources/programming/framework/fastapi.png | Bin 0 -> 10779 bytes 4 files changed, 10 insertions(+) create mode 100644 resources/programming/framework/fastapi.png diff --git a/config.py b/config.py index 1d8aafc07..a5c53b14d 100644 --- a/config.py +++ b/config.py @@ -395,6 +395,9 @@ } }, "programming": { + "framework": { + "Fastapi": "FastAPI" + }, "language": { "Javascript": "JavaScript", "Nodejs": "NodeJS", diff --git a/diagrams/programming/framework.py b/diagrams/programming/framework.py index 48929c1da..f8d901fb0 100644 --- a/diagrams/programming/framework.py +++ b/diagrams/programming/framework.py @@ -24,6 +24,10 @@ class Ember(_Framework): _icon = "ember.png" +class Fastapi(_Framework): + _icon = "fastapi.png" + + class Flask(_Framework): _icon = "flask.png" @@ -57,3 +61,5 @@ class Vue(_Framework): # Aliases + +FastAPI = Fastapi diff --git a/docs/nodes/programming.md b/docs/nodes/programming.md index 06ce37d7a..fdd25404e 100644 --- a/docs/nodes/programming.md +++ b/docs/nodes/programming.md @@ -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** diff --git a/resources/programming/framework/fastapi.png b/resources/programming/framework/fastapi.png new file mode 100644 index 0000000000000000000000000000000000000000..d79d51bf7047e7c28b404769f17d2e52c98bc215 GIT binary patch literal 10779 zcmch7^-h)1ubFwBnLGD=Yv$f_&ikG?Lw!v$VrF6h0LZkp)QkZDbbAW|2=Q-) zwNKg8TLE=e)>8(6+GLU|JG|Rx4hJn`Jpc&e0{~Pc09@WCp?(2?9}E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