Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| import json | |
| import random | |
| import logging | |
| import re | |
| from azure.cosmosdb.table.tableservice import TableService | |
| from azure.storage.queue import QueueService, QueueMessageFormat | |
| class JobManager(object): | |
| def __init__(self, accound_name: str, account_key: str, job_group: str, job_id: str = None): |
| #!/usr/bin/python3 | |
| """ Demonstrating APScheduler feature for small Flask App. """ | |
| from apscheduler.schedulers.background import BackgroundScheduler | |
| from flask import Flask | |
| def sensor(): | |
| """ Function for test purposes. """ | |
| print("Scheduler is alive!") |
| import os | |
| import codecs | |
| data_directory = os.path.join('..', 'data', | |
| 'yelp_dataset_challenge_academic_dataset') | |
| businesses_filepath = os.path.join(data_directory, | |
| 'yelp_academic_dataset_business.json') | |
| with codecs.open(businesses_filepath, encoding='utf_8') as f: |