@@ -67,27 +67,27 @@ def create(
6767
6868 :param table: Schema name of the table with customization prefix
6969 (e.g. ``"new_MyTestTable"``).
70- :type table: str
70+ :type table: :class:` str`
7171 :param columns: Mapping of column schema names (with customization
7272 prefix) to their types. Supported types include ``"string"``
7373 (or ``"text"``), ``"int"`` (or ``"integer"``), ``"decimal"``
7474 (or ``"money"``), ``"float"`` (or ``"double"``), ``"datetime"``
7575 (or ``"date"``), ``"bool"`` (or ``"boolean"``), ``"file"``, and
7676 ``Enum`` subclasses
7777 (for local option sets).
78- :type columns: dict[str, Any]
78+ :type columns: :class:` dict`
7979 :param solution: Optional solution unique name that should own the new
8080 table. When omitted the table is created in the default solution.
81- :type solution: str | None
81+ :type solution: :class:` str` or None
8282 :param primary_column: Optional primary name column schema name with
8383 customization prefix (e.g. ``"new_ProductName"``). If not provided,
8484 defaults to ``"{prefix}_Name"``.
85- :type primary_column: str | None
85+ :type primary_column: :class:` str` or None
8686
8787 :return: Dictionary containing table metadata including
8888 ``table_schema_name``, ``entity_set_name``, ``table_logical_name``,
8989 ``metadata_id``, and ``columns_created``.
90- :rtype: dict[str, Any]
90+ :rtype: :class:` dict`
9191
9292 :raises ~PowerPlatform.Dataverse.core.errors.MetadataError:
9393 If table creation fails or the table already exists.
@@ -127,7 +127,7 @@ def delete(self, table: str) -> None:
127127 """Delete a custom table by schema name.
128128
129129 :param table: Schema name of the table (e.g. ``"new_MyTestTable"``).
130- :type table: str
130+ :type table: :class:` str`
131131
132132 :raises ~PowerPlatform.Dataverse.core.errors.MetadataError:
133133 If the table does not exist or deletion fails.
@@ -150,12 +150,12 @@ def get(self, table: str) -> Optional[Dict[str, Any]]:
150150
151151 :param table: Schema name of the table (e.g. ``"new_MyTestTable"``
152152 or ``"account"``).
153- :type table: str
153+ :type table: :class:` str`
154154
155155 :return: Dictionary containing ``table_schema_name``,
156156 ``table_logical_name``, ``entity_set_name``, and ``metadata_id``.
157157 Returns None if the table is not found.
158- :rtype: dict[str, Any] | None
158+ :rtype: :class:` dict` or None
159159
160160 Example::
161161
@@ -173,7 +173,7 @@ def list(self) -> List[Dict[str, Any]]:
173173 """List all non-private tables in the Dataverse environment.
174174
175175 :return: List of EntityDefinition metadata dictionaries.
176- :rtype: list[dict[str, Any]]
176+ :rtype: :class:` list` of :class:`dict`
177177
178178 Example::
179179
@@ -194,14 +194,14 @@ def add_columns(
194194 """Add one or more columns to an existing table.
195195
196196 :param table: Schema name of the table (e.g. ``"new_MyTestTable"``).
197- :type table: str
197+ :type table: :class:` str`
198198 :param columns: Mapping of column schema names (with customization
199199 prefix) to their types. Supported types are the same as for
200200 :meth:`create`.
201- :type columns: dict[str, Any]
201+ :type columns: :class:` dict`
202202
203203 :return: Schema names of the columns that were created.
204- :rtype: list[ str]
204+ :rtype: :class:` list` of :class:` str`
205205
206206 :raises ~PowerPlatform.Dataverse.core.errors.MetadataError:
207207 If the table does not exist.
@@ -227,14 +227,14 @@ def remove_columns(
227227 """Remove one or more columns from a table.
228228
229229 :param table: Schema name of the table (e.g. ``"new_MyTestTable"``).
230- :type table: str
230+ :type table: :class:` str`
231231 :param columns: Column schema name or list of column schema names to
232232 remove. Must include the customization prefix (e.g.
233233 ``"new_TestColumn"``).
234- :type columns: str | list[ str]
234+ :type columns: :class:` str` or :class:` list` of :class:` str`
235235
236236 :return: Schema names of the columns that were removed.
237- :rtype: list[ str]
237+ :rtype: :class:` list` of :class:` str`
238238
239239 :raises ~PowerPlatform.Dataverse.core.errors.MetadataError:
240240 If the table or a specified column does not exist.
0 commit comments