INNER CODE UNIT · Python
get_java_database
ArcadeData/arcadedb · bindings/python/src/arcadedb_embedded/core.py:69
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[]
# varargs before explicit conversion existed. It expands here, with
# per-element conversion.
if len(args) == 1 and isinstance(args[0], (list, tuple)):
args = tuple(args[0])
converted_args = []