Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
expose submittable
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinAV committed Sep 4, 2023
1 parent 41e152c commit 9baa7d6
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/taipy/core/_entity/submittable.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class Submittable:
"""Instance of an entity that can be submitted for execution.
A submittable holds functions that can be used to build the executional directed acyclic graph.
A submittable holds functions that can be used to build the execution directed acyclic graph.
Attributes:
subscribers (List[Callable]): The list of callbacks to be called on `Job^`'s status change.
Expand Down
53 changes: 53 additions & 0 deletions src/taipy/core/_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,56 @@
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.

from ._core import Core
from ._entity.submittable import Submittable
from .cycle.cycle import Cycle
from .cycle.cycle_id import CycleId
from .data.data_node import DataNode
from .data.data_node_id import DataNodeId
from .job.job import Job
from .job.job_id import JobId
from .job.status import Status
from .scenario.scenario import Scenario
from .scenario.scenario_id import ScenarioId
from .sequence.sequence import Sequence
from .sequence.sequence_id import SequenceId
from .taipy import (
cancel_job,
clean_all_entities_by_version,
compare_scenarios,
create_global_data_node,
create_scenario,
delete,
delete_job,
delete_jobs,
exists,
export_scenario,
get,
get_cycles,
get_cycles_scenarios,
get_data_nodes,
get_entities_by_config_id,
get_jobs,
get_latest_job,
get_parents,
get_primary,
get_primary_scenarios,
get_scenarios,
get_sequences,
get_tasks,
is_deletable,
is_promotable,
is_submittable,
set,
set_primary,
submit,
subscribe_scenario,
subscribe_sequence,
tag,
unsubscribe_scenario,
unsubscribe_sequence,
untag,
)
from .task.task import Task
from .task.task_id import TaskId

0 comments on commit 9baa7d6

Please sign in to comment.