Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinAV committed Feb 29, 2024
1 parent f2d0b00 commit d678b1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
2 changes: 2 additions & 0 deletions taipy/core/config/core_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ def _check_compatibility(cls, core_version):
def _configure(
root_folder: Optional[str] = None,
storage_folder: Optional[str] = None,
taipy_storage_folder: Optional[str] = None,
repository_type: Optional[str] = None,
repository_properties: Optional[Dict[str, Union[str, int]]] = None,
read_entity_retry: Optional[int] = None,
Expand Down Expand Up @@ -373,6 +374,7 @@ def _configure(
section = CoreSection(
root_folder=root_folder,
storage_folder=storage_folder,
taipy_storage_folder=taipy_storage_folder,
repository_type=repository_type,
repository_properties=repository_properties,
read_entity_retry=read_entity_retry,
Expand Down
9 changes: 0 additions & 9 deletions taipy/core/data/sql_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,6 @@ def _do_write(self, data, engine, connection) -> None:
self.__insert_data(data, engine, connection, delete_table=True)

def __insert_data(self, data, engine, connection, delete_table: bool = False) -> None:
"""
Insert data into a SQL table.
Parameters:
data (List[Dict]): a list of dictionaries, where each dictionary represents a row of the table.
table: a SQLAlchemy object that represents a table.
connection: a SQLAlchemy connection to write the data.
delete_table (bool): indicates if the table should be deleted before inserting the data.
"""
table = self._create_table(engine)
if isinstance(data, pd.DataFrame):
self.__insert_dataframe(data, table, connection, delete_table)
Expand Down
4 changes: 2 additions & 2 deletions taipy/core/taipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def is_deletable(entity: Union[Scenario, Job, Submission, ScenarioId, JobId, Sub
Parameters:
entity (Union[Scenario, Job, Submission, ScenarioId, JobId, SubmissionId]): The scenario,
job or submission to check.
job or submission to check.
Returns:
True if the given scenario, job or submission can be deleted. False otherwise.
Expand Down Expand Up @@ -802,7 +802,7 @@ def get_latest_submission(entity: Union[Scenario, Sequence, Task]) -> Optional[S
Parameters:
entity (Union[Scenario^, Sequence^, Task^]): The scenario, sequence or task to
retrieve the latest submission from.
retrieve the latest submission from.
Returns:
The latest submission created from _scenario_, _sequence_ and _task_, or None
Expand Down
4 changes: 2 additions & 2 deletions taipy/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"""# Taipy Rest
The Taipy Rest package exposes the Runnable `Rest^` service to provide REST APIs on top of Taipy Core. (more details
on Taipy Core functionalities in the [user manual](../../../manuals/core/)).
on Taipy Core functionalities in the [user manual](../../../manuals/core/index.md)).
Once the `Rest^` service runs, users can call REST APIs to create, read, update, submit and remove Taipy entities
(including cycles, scenarios, sequences, tasks, jobs, and data nodes). It is handy when it comes to integrating a
Taipy application in a more complex IT ecosystem.
Please refer to [REST API](../../reference_rest/) page to get the exhaustive list of available APIs."""
Please refer to [REST API](../../reference_rest/index.md) page to get the exhaustive list of available APIs."""

from ._init import *
from .version import _get_version
Expand Down

0 comments on commit d678b1c

Please sign in to comment.