From 70be57ef3681f723271cc05edcbc055417a578d8 Mon Sep 17 00:00:00 2001 From: Mustafa Yontar Date: Mon, 1 Feb 2021 14:39:15 +0300 Subject: [PATCH] auth methots default param --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index cb12890..e344565 100644 --- a/__init__.py +++ b/__init__.py @@ -11,7 +11,7 @@ class MongoApi: app: Flask = None authentication_methods: list = [] - def __init__(self, app: Flask, authentication_methods): + def __init__(self, app: Flask, authentication_methods=[]): self.app = app self.authentication_methods = authentication_methods