(client)
| 78 | |
| 79 | @staticmethod |
| 80 | def get_databases(client): |
| 81 | def query(): |
| 82 | try: |
| 83 | return client.get_databases() |
| 84 | finally: |
| 85 | client.close() |
| 86 | |
| 87 | future = JdbcClientFactory.executor.submit(query) |
| 88 | return future.result() |
| 89 | |
| 90 | @staticmethod |
| 91 | def get_tables(client, database: str): |
nothing calls this directly
no outgoing calls
no test coverage detected