• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SwissDataScienceCenter / renku-python / 6475078373

10 Oct 2023 09:34PM UTC coverage: 85.469% (-0.3%) from 85.816%
6475078373

push

github-actions

web-flow
feat(cli): session pause and resume (#3633)

47 of 164 new or added lines in 9 files covered. (28.66%)

9 existing lines in 8 files now uncovered.

26234 of 30694 relevant lines covered (85.47%)

4.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.62
/renku/ui/cli/utils/plugins.py
1
# Copyright Swiss Data Science Center (SDSC). A partnership between
2
# École Polytechnique Fédérale de Lausanne (EPFL) and
3
# Eidgenössische Technische Hochschule Zürich (ETHZ).
4
#
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
# you may not use this file except in compliance with the License.
7
# You may obtain a copy of the License at
8
#
9
#     http://www.apache.org/licenses/LICENSE-2.0
10
#
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS,
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
"""Utility functions for plugins."""
11✔
17

18

19
def get_supported_formats():
11✔
20
    """Deferred import as plugins are slow."""
21
    from renku.core.plugin.workflow import get_supported_formats
8✔
22

23
    return get_supported_formats()
8✔
24

25

26
def available_workflow_providers():
11✔
27
    """Deferred import as plugins are slow."""
28
    from renku.core.plugin.provider import available_workflow_providers
2✔
29

30
    return available_workflow_providers()
2✔
31

32

33
def get_supported_session_providers_names():
11✔
34
    """Deferred import as plugins are slow."""
35
    from renku.core.plugin.session import get_supported_session_providers
2✔
36

37
    return [p.name for p in get_supported_session_providers()]
2✔
38

39

40
def get_supported_hibernating_session_providers_names():
11✔
41
    """Return names of session providers that support hibernation."""
NEW
42
    from renku.core.plugin.session import get_supported_hibernating_session_providers
×
43

NEW
44
    return [p.name for p in get_supported_hibernating_session_providers()]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc