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
| export async function handler(event, context) { | |
| // await stuff here | |
| } |
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 { applyMiddleware, compose, createStore } from 'redux' | |
| import thunk from 'redux-thunk' | |
| import reducers from 'reducers' | |
| const middleware = [thunk] | |
| let enhancers | |
| // eslint-disable-next-line | |
| if (__DEV__) { |
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
| from datetime import datetime | |
| from faker import Faker | |
| from faker.providers import date_time, address | |
| from random import randint | |
| fake = Faker() | |
| fake.add_provider(date_time) | |
| productsInShops = [ |
OlderNewer