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

SwissDataScienceCenter / renku-python / 9058668052

13 May 2024 07:05AM UTC coverage: 77.713% (-8.4%) from 86.115%
9058668052

Pull #3727

github

web-flow
Merge 128d38387 into 050ed61bf
Pull Request #3727: fix: don't fail session launch when gitlab couldn't be reached

15 of 29 new or added lines in 3 files covered. (51.72%)

2594 existing lines in 125 files now uncovered.

23893 of 30745 relevant lines covered (77.71%)

3.2 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