mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
error pages
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import typing
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from fastapi_admin.app import FastAPIAdmin
|
||||
|
||||
|
||||
class Provider:
|
||||
name = "provider"
|
||||
|
||||
async def register(self, app: "FastAPIAdmin"):
|
||||
setattr(app, self.name, self)
|
||||
|
||||
Reference in New Issue
Block a user