From 2a1dc9a6cb5a850272c93b252e5c58799ca2f946 Mon Sep 17 00:00:00 2001 From: Aaron Wolen Date: Fri, 13 Mar 2026 17:05:08 -0500 Subject: [PATCH] Use consistent order for create() args --- python-spec/src/somacore/data.py | 6 +++--- python-spec/src/somacore/spatial.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python-spec/src/somacore/data.py b/python-spec/src/somacore/data.py index 4718dc9..0f6088c 100644 --- a/python-spec/src/somacore/data.py +++ b/python-spec/src/somacore/data.py @@ -38,8 +38,8 @@ def create( uri: str, *, schema: pa.Schema, - domain: Sequence[tuple[Any, Any] | None], index_column_names: Sequence[str] = (options.SOMA_JOINID,), + domain: Sequence[tuple[Any, Any] | None], platform_config: options.PlatformConfig | None = None, context: Any | None = None, ) -> Self: @@ -68,8 +68,8 @@ def create( A sequence of tuples specifying the domain of each index column. Each tuple must be a pair consisting of the minimum and maximum values storable in the index column. This sequence - must have the same length as ``index_column_names``. Use ``None`` for string - index columns when the implementation does not support string domains. + must have the same length as ``index_column_names``. Use ``None`` for string + index columns when the implementation does not support string domains. platform_config: platform-specific configuration; keys are SOMA implementation names. diff --git a/python-spec/src/somacore/spatial.py b/python-spec/src/somacore/spatial.py index 099aaa4..ea97187 100644 --- a/python-spec/src/somacore/spatial.py +++ b/python-spec/src/somacore/spatial.py @@ -34,11 +34,11 @@ def create( uri: str, *, schema: pa.Schema, - domain: Sequence[tuple[Any, Any]], coordinate_space: Sequence[str] | coordinates.CoordinateSpace = ( "x", "y", ), + domain: Sequence[tuple[Any, Any]], platform_config: options.PlatformConfig | None = None, context: Any | None = None, ) -> Self: @@ -253,8 +253,8 @@ def create( uri: str, *, schema: pa.Schema, - domain: Sequence[tuple[Any, Any] | None], coordinate_space: Sequence[str] | coordinates.CoordinateSpace = ("x", "y"), + domain: Sequence[tuple[Any, Any] | None], platform_config: options.PlatformConfig | None = None, context: Any | None = None, ) -> Self: