chore: initialize containerized Python learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
ae4c421815
63 files changed
+1273
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# 06 — Obiektowość, `@dataclass` i `Protocol`
|
||||
|
||||
## Zadania (`oop_ex.py`)
|
||||
1. `BankAccount` — enkapsulacja salda (`_balance`), metody `deposit`, `withdraw -> bool`, właściwość `balance`.
|
||||
2. `Notifier` (`Protocol`) + `EmailNotifier`, `SmsNotifier` + `AlertService` (kompozycja).
|
||||
|
||||
## Uruchomienie testów
|
||||
```bash
|
||||
make test MOD=01-core/06-oop-dataclasses
|
||||
```
|
||||
Reference in new issue
Block a user