mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
Restyle Add edit playlist modal (#28)
* Restyled by black * Restyled by clang-format * Restyled by isort * Restyled by prettier * Restyled by prettier-markdown * Restyled by reorder-python-imports * Restyled by whitespace * Restyled by yapf Co-authored-by: Restyled.io <commits@restyled.io>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
|
||||
from app import models
|
||||
|
||||
|
||||
@@ -61,7 +62,9 @@ class Playlist:
|
||||
description: str
|
||||
count: int = 0
|
||||
|
||||
def __init__(self, p: models.Playlist, construct_last_updated: bool = True) -> None:
|
||||
def __init__(self,
|
||||
p: models.Playlist,
|
||||
construct_last_updated: bool = True) -> None:
|
||||
self.playlistid = p.playlistid
|
||||
self.name = p.name
|
||||
self.image = p.image
|
||||
|
||||
Reference in New Issue
Block a user