You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-11-28 23:20:23 +02:00
11 lines
361 B
Python
11 lines
361 B
Python
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
|
|
# See LICENSE in the project root for license information.
|
|
|
|
def prefix(prefix_str):
|
|
def wrapper(function):
|
|
function.prefix = prefix_str
|
|
return function
|
|
return wrapper
|
|
|
|
def api_v0(path):
|
|
return 'http://localhost:8080/api/v0/%s' % path |