13 lines
294 B
Python
13 lines
294 B
Python
from ..config import ConfigUnit
|
|
from typing import Optional
|
|
|
|
|
|
class InverterdConfig(ConfigUnit):
|
|
NAME = 'inverterd'
|
|
|
|
@staticmethod
|
|
def schema() -> Optional[dict]:
|
|
return {
|
|
'remote_addr': {'type': 'string'},
|
|
'local_addr': {'type': 'string'},
|
|
} |