This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import os | |
| import subprocess | |
| import sys | |
| from pathlib import Path | |
| import osbuild.api | |
| from osbuild.util.chroot import Chroot | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import sys | |
| import os | |
| ## Mount EFS path before attempting | |
| ## to import the next dependencies | |
| sys.path.append('/mnt/access/pkgs') | |
| import numpy as np | |
| import librosa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ajv from 'ajv'; | |
| import { JSONSchemaBridge } from 'uniforms-bridge-json-schema'; | |
| const ajv = new Ajv(); | |
| ajv.addFormat('date-time', { | |
| validate: (dateTimeString) => { | |
| console.log('here', dateTimeString); | |
| return dateTimeRegex.test(dateTimeString); | |
| } |