Files
peertube-collector/utils/Convenience.py
Mirko Milovanovic 5c92020169
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m31s
Add convenience functions, update Docker setup, and integrate Webpack for building WebRTC internals exporter (#3)
Reviewed-on: #3
Co-authored-by: Mirko Milovanovic <mir_ko@me.com>
Co-committed-by: Mirko Milovanovic <mir_ko@me.com>
2025-02-21 11:21:14 +00:00

5 lines
122 B
Python

def firstValid(*args, default):
for arg in args:
if arg is not None:
return arg
return default