MCPcopy Create free account

hub / github.com/Kanegraffiti/Parslet / functions

Functions437 in github.com/Kanegraffiti/Parslet

Functionfake_create_connection
(addr, timeout=0)
tests/test_network_utils.py:15
Functionfake_net_if_addrs
()
tests/test_network_utils.py:39
Functionfake_ram
()
tests/test_scheduler.py:8
Functionfake_run
(cmd, check, stdout, stderr)
tests/test_file_relay.py:9
Functionfirst
()
tests/test_task.py:32
Functionfirst
()
tests/test_security.py:16
Functionget_all_registered_tasks
Returns a copy of the global task registry. Returns: Dict[str, Callable[..., Any]]: A dictionary mapping registered task
parslet/core/task.py:429
Methodget_dependents
Returns a list of task IDs that directly depend on (are successors of) the specified task. Args: task_id (str):
parslet/core/dag.py:328
Functionget_task_from_registry
Retrieves a task function from the global task registry by its name. Note: Parslet primarily operates on direct function references passed t
parslet/core/task.py:405
Functionhandle
(exc: Exception)
parslet/utils/parslet_defcon.py:50
Functionimport_dag_from_json
(path: str)
parslet/core/dag_io.py:53
Functionload
(config)
tests/test_parsl_bridge.py:58
Functionload
(config)
tests/test_hybrid.py:53
Functionmain
()
examples/policy_example.py:13
Functionmain
Build and run a DAG with a cached task.
examples/cached_task.py:13
Functionmain
()
examples/compat/dask_demo.py:11
Functionmain
()
examples/compat/parsl_demo.py:11
Functionparsl_python
Expose a Parsl ``python_app`` as a Parslet task. The returned callable behaves like a normal ``@parslet_task`` function but its body executes
parslet/core/parsl_bridge.py:150
Functionparsl_task
(*args, **kwargs)
parslet/core/parsl_bridge.py:66
Functionparslet_workflow
Mark a callable as a Parslet workflow entrypoint. This removes the requirement for users to remember the ``main`` naming convention in workfl
parslet/core/task.py:40
Functionping
()
parslet/tasks/basic.py:5
Methodpredict
(self, image)
tests/test_rad_parslet.py:35
Methodpredict
(self, image: Image.Image)
examples/rad_parslet/rad_parslet.py:62
Functionprocess_full
()
tests/test_variants_selection.py:5
Functionpytest_sessionstart
Allow task redefinition across tests by default.
tests/conftest.py:6
Functionpython_app
(func=None, *, executor=None)
tests/test_parsl_bridge.py:26
Functionpython_app
(func)
tests/test_hybrid.py:21
Functionredefine
()
tests/test_task.py:57
Methodregister_detector
Register a custom boolean detector.
parslet/core/context.py:66
Functionsandbox_task
Defcon 2: decorator to prevent unsafe operations.
parslet/utils/parslet_defcon.py:35
Methodschedule
Placeholder for future advanced scheduling logic.
parslet/core/scheduler.py:39
Functionsecond
()
tests/test_task.py:38
Functionsecond
()
tests/test_security.py:22
Functionsensitive
(x: int)
tests/test_task.py:13
Functionstub_parsl
(monkeypatch)
tests/test_parsl_bridge.py:80
Functionstub_parsl
(monkeypatch)
tests/test_hybrid.py:75
Functiontask_variant
Decorator to mark a function as an alternate implementation. Variants allow tasks to provide lighter or heavier implementations that the sche
parslet/core/task.py:440
Functiontest_analysis_disagreement
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:30
Functiontest_analysis_low_battery
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:51
Functiontest_analysis_success
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:17
Functiontest_bash_app_decorator_executes_with_parslet
()
tests/test_parsl_adapter_runtime.py:58
Functiontest_bash_app_decorator_handles_errors
()
tests/test_parsl_adapter_runtime.py:69
Functiontest_battery_mode_reduces_workers
(monkeypatch)
tests/test_scheduler.py:4
Functiontest_battery_sensitive_metadata
()
tests/test_task.py:23
Functiontest_battery_sensitive_prints_skip_notice
(monkeypatch, capsys)
tests/test_battery_sensitive.py:40
Functiontest_battery_sensitive_skipped
(monkeypatch)
tests/test_battery_sensitive.py:10
Functiontest_benchmark_output_contains_task
()
tests/test_benchmarks.py:9
Functiontest_cli_convert_from_parsl
(tmp_path: Path, monkeypatch: MonkeyPatch)
tests/test_cli_convert.py:38
Functiontest_cli_convert_to_parsl
(tmp_path: Path, monkeypatch: MonkeyPatch)
tests/test_cli_convert.py:9
Functiontest_cli_examples_all_files
(capsys)
tests/test_cli.py:45
Functiontest_cli_examples_listing
(capsys)
tests/test_cli.py:16
Functiontest_cli_help
(capsys, monkeypatch)
tests/test_cli.py:7
Functiontest_cli_help_option
(capsys)
tests/test_cli.py:27
Functiontest_cli_invalid_argument
(capsys)
tests/test_cli.py:36
Functiontest_cli_run_exports_parsl
(tmp_path: Path, monkeypatch)
tests/test_parsl_auto.py:22
Functiontest_cli_top_level_help_shows_contexts_and_cache
(capsys: pytest.CaptureFixture[str])
tests/test_cli_help.py:20
Functiontest_compute_multiple_tasks
()
tests/test_dask_adapter_runtime.py:18
Functiontest_context_oracle_battery_threshold
(monkeypatch: pytest.MonkeyPatch)
tests/test_context_oracle.py:16
Functiontest_context_oracle_manual_enable
()
tests/test_context_oracle.py:9
Functiontest_convert_task_to_parsl_executes
(tmp_path, stub_parsl)
tests/test_parsl_bridge.py:89
Functiontest_dag_build_and_topological_order
()
tests/test_dag.py:14
Functiontest_dask_conversion_simple
()
tests/test_compat_conversion.py:22
Functiontest_dask_translator_handles_aliased_decorator
()
tests/test_dask_adapter_module.py:70
Functiontest_dask_translator_handles_aliased_delayed_function_call
()
tests/test_dask_adapter_module.py:99
Functiontest_dask_translator_handles_delayed_function_call
()
tests/test_dask_adapter_module.py:84
Functiontest_dask_translator_handles_module_decorator
()
tests/test_dask_adapter_module.py:53
Functiontest_dask_translator_replaces_decorator_and_compute
()
tests/test_dask_adapter_module.py:36
Functiontest_delayed_decorator_and_compute
()
tests/test_dask_adapter_runtime.py:5
Functiontest_dfk_stub_warns
()
tests/test_parsl_adapter_runtime.py:81
Functiontest_execute_hybrid_mixes_local_and_remote
(stub_parsl)
tests/test_hybrid.py:86
Functiontest_execute_with_dask_client
()
tests/test_dask_bridge.py:55
Functiontest_execute_with_dask_threads
()
tests/test_dask_bridge.py:41
Functiontest_execute_with_parsl_creates_run_dir
(stub_parsl)
tests/test_parsl_bridge.py:107
Functiontest_export_import_dag
(tmp_path)
tests/test_dag_io.py:14
Functiontest_failsafe_serial_execution
()
tests/test_failsafe_mode.py:12
Functiontest_failure_log_contains_task_details
( caplog: pytest.LogCaptureFixture, )
tests/test_fail_messages.py:9
Functiontest_file_relay_calls_scp
(monkeypatch, tmp_path)
tests/test_file_relay.py:6
Functiontest_force_redefine_allows_protected_task
()
tests/test_task.py:46
Functiontest_get_power_state_returns_snapshot
()
tests/test_power_providers.py:4
Functiontest_ignore_battery_runs
(monkeypatch)
tests/test_battery_sensitive.py:25
Functiontest_infer_edges_and_toposort
()
tests/test_ir_helpers.py:11
Functiontest_is_network_available_false
(monkeypatch)
tests/test_network_utils.py:26
Functiontest_is_network_available_true
(monkeypatch)
tests/test_network_utils.py:14
Functiontest_is_vpn_active_false
(monkeypatch)
tests/test_network_utils.py:51
Functiontest_is_vpn_active_true
(monkeypatch)
tests/test_network_utils.py:38
Functiontest_load_module_auto_converts
(tmp_path: Path)
tests/test_parsl_auto.py:8
Functiontest_low_battery_prefers_low_energy
()
tests/test_energy_policy_ordering.py:16
Functiontest_model_hash
()
tests/test_rad.py:4
Functiontest_name_collision_and_allow_redefine
()
tests/test_security.py:11
Functiontest_normalize_names
()
tests/test_ir_helpers.py:22
Functiontest_offline_guard_blocks_socket
()
tests/test_security.py:63
Functiontest_parsl_conversion_simple
()
tests/test_compat_conversion.py:8
Functiontest_parsl_python_runs_under_parsl
(stub_parsl)
tests/test_parsl_bridge.py:135
Functiontest_parsl_translator_replaces_decorators
()
tests/test_parsl_adapter_module.py:41
Functiontest_parsl_translator_warns_dfk
()
tests/test_parsl_adapter_module.py:53
Functiontest_parslet_task_decorator_returns_future
()
tests/test_task.py:17
Functiontest_parslet_to_parsl_conversion_simple
()
tests/test_compat_conversion.py:38
Functiontest_policy_expands_to_cap
(monkeypatch: pytest.MonkeyPatch)
tests/test_policy.py:18
Functiontest_policy_shrinks_on_low_battery
( monkeypatch: pytest.MonkeyPatch, )
tests/test_policy.py:7
Functiontest_protected_task_redefinition_error
()
tests/test_task.py:27
← previousnext →301–400 of 437, ranked by callers