mirror of
https://github.com/Mic92/nix-update.git
synced 2024-10-26 11:10:10 +03:00
commit
e880e386a8
@ -1,3 +1,4 @@
|
||||
import json
|
||||
import os
|
||||
from dataclasses import dataclass, field
|
||||
from typing import List, Optional
|
||||
@ -26,3 +27,6 @@ class Options:
|
||||
format: bool = False
|
||||
system: Optional[str] = None
|
||||
extra_flags: List[str] = field(default_factory=list)
|
||||
|
||||
def __post_init__(self) -> None:
|
||||
self.attribute = json.dumps(self.attribute)
|
||||
|
Loading…
Reference in New Issue
Block a user