INNER CODE UNIT · Python

__enter__

ArcadeData/arcadedb · bindings/python/src/arcadedb_embedded/core.py:63

    def __enter__(self):
        return self

    def __exit__(self, exc_type, exc_val, exc_tb):
        self.close()

    def get_java_database(self):
        """Expose the wrapped Java database for internal integrations."""
        return self._java_db

    @staticmethod
    def _convert_args(args):
        if not args:
            return []

        # Historical semantics (kept for compatibility): a SINGLE list/tuple
        # argument is the positional-parameter array itself — one element per
        # `?` placeholder — matching how JPype bound it to the Object[]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…