Need to work on running update queries, that combine plsql and normal sql statements and potentially multiple extracts for one sql file, to make multiple files, and probably to also export to xlsx file format.
22 lines
447 B
Python
22 lines
447 B
Python
from dataclasses import dataclass
|
|
|
|
@dataclass
|
|
class Municipality:
|
|
|
|
def __init__(self, name: str, cvr: str, schema: str, kommunekode: str):
|
|
self._name = name
|
|
self._cvr = cvr
|
|
self._schema = schema
|
|
self._kommunekode = kommunekode
|
|
|
|
@property
|
|
def name(self):
|
|
return self._name
|
|
|
|
@property
|
|
def cvr(self):
|
|
return self._cvr
|
|
|
|
@property
|
|
def schema(self):
|
|
return self._schema |