Skip to content

Commit 0bddbf4

Browse files
Update dash_wrapper.py (#511)
* Update dash_wrapper.py fixed error message * Update models.py type hint * Update dash_wrapper.py
1 parent 6a6f850 commit 0bddbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_plotly_dash/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def save(self, *args, **kwargs): # pylint: disable=arguments-differ
5858
self.slug = self.slug + str(exist_count+1)
5959
return super().save(*args, **kwargs)
6060

61-
def as_dash_app(self):
61+
def as_dash_app(self) -> DjangoDash:
6262
'''
6363
Return a DjangoDash instance of the dash application
6464
'''

0 commit comments

Comments
 (0)