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

unity-sds / unity-py / 9846236301

08 Jul 2024 08:10PM UTC coverage: 46.923% (-5.9%) from 52.801%
9846236301

push

github

web-flow
Ogc processes api (#92)

* added ogc client, started to make changes to support those methods

* added process.execute method

* added job processes, ogc_notebook example

* updated ogc api from local build to tagged git version

* added normal commit

* updated changelog

* Removed process regression test since it relies on changing environment. This will be added back in when we get the 'unity-venue-ops' account set up

24 of 129 new or added lines in 4 files covered. (18.6%)

20 existing lines in 6 files now uncovered.

366 of 780 relevant lines covered (46.92%)

2.82 hits per line

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

25.0
/unity_sds_client/utils/http.py
1
"""
6✔
2
This module contains utility functions to support HTTP calls.
3
"""
4

5
def get_headers(token, additional_headers = None):
6✔
6
    """Returns a dictionary containing headers that will be used in an API call"""
7

UNCOV
8
    if token is None:
×
9
        raise Exception("No authorization token was provided.")
×
10

UNCOV
11
    if additional_headers is None:
×
UNCOV
12
        additional_headers = {}
×
13

UNCOV
14
    base_header = {
×
15
        "Authorization": "Bearer " + token,
16
    }
17

UNCOV
18
    return {**base_header, **additional_headers}
×
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