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

SwissDataScienceCenter / renku-python / 9908947509

12 Jul 2024 01:48PM UTC coverage: 77.621% (-8.5%) from 86.128%
9908947509

Pull #3730

github

web-flow
Update CHANGES.rst
Pull Request #3730: chore: release v2.9.4

1 of 1 new or added line in 1 file covered. (100.0%)

2616 existing lines in 125 files now uncovered.

23863 of 30743 relevant lines covered (77.62%)

3.24 hits per line

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

53.85
/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."""
7✔
17

18

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

23
    return get_supported_formats()
4✔
24

25

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

UNCOV
30
    return available_workflow_providers()
×
31

32

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

UNCOV
37
    return [p.name for p in get_supported_session_providers()]
×
38

39

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

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