Debug
This commit is contained in:
parent
75ac4856ee
commit
8732ff091f
2 changed files with 4 additions and 1 deletions
|
|
@ -40,6 +40,9 @@ class ShowDatabaseRepository(BaseRepository):
|
||||||
|
|
||||||
# Execução para buscar a estrutura padrão (sem parâmetros)
|
# Execução para buscar a estrutura padrão (sem parâmetros)
|
||||||
structure_database = self.fetch_one(sql_standard_structure)
|
structure_database = self.fetch_one(sql_standard_structure)
|
||||||
|
|
||||||
|
print("============================================================================")
|
||||||
|
print(structure_database)
|
||||||
|
|
||||||
# O campo 'structure' contém o JSON da estrutura padrão (como string)
|
# O campo 'structure' contém o JSON da estrutura padrão (como string)
|
||||||
standard_structure_json = structure_database.get('structure') if structure_database else None
|
standard_structure_json = structure_database.get('structure') if structure_database else None
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ class ShowDatabaseService:
|
||||||
# --- 1. Extração de Estruturas e Metadata ---
|
# --- 1. Extração de Estruturas e Metadata ---
|
||||||
standard_structure_data: Dict[str, Any] = dados_json.get("standard_structure_json", {})
|
standard_structure_data: Dict[str, Any] = dados_json.get("standard_structure_json", {})
|
||||||
|
|
||||||
print(standard_structure_data)
|
print(standard_structure_json)
|
||||||
|
|
||||||
database_data = dados_json.get("database", {})
|
database_data = dados_json.get("database", {})
|
||||||
client_structure: Dict[str, Any] = database_data.get("structure", {})
|
client_structure: Dict[str, Any] = database_data.get("structure", {})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue