first skeleton
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
class Photo:
|
||||
|
||||
def __init__(self):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def from_file(cls, path: Path) -> Photo:
|
||||
# TODO
|
||||
return cls()
|
||||
|
||||
def resize(self) -> Photo:
|
||||
# TODO
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user