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

SwissDataScienceCenter / renku-python / 6929908835

20 Nov 2023 12:10PM UTC coverage: 86.016% (-0.8%) from 86.793%
6929908835

push

github

web-flow
Merge pull request #3653 from SwissDataScienceCenter/release/v2.8.0

924 of 1168 new or added lines in 100 files covered. (79.11%)

139 existing lines in 17 files now uncovered.

26518 of 30829 relevant lines covered (86.02%)

4.72 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."""
10✔
17

18

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

23
    return get_supported_formats()
6✔
24

25

26
def available_workflow_providers():
10✔
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():
10✔
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():
10✔
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