This file contains 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
// Prisma custom transaction handler | |
// I'm just add supported transactions options | |
// Please read more: | |
// https://github.com/prisma/prisma/issues/22309 | |
// https://github.com/prisma/prisma-client-extensions/tree/main/callback-free-itx | |
// https://github.com/prisma/prisma-client-extensions/pull/52 | |
import { Prisma, PrismaClient } from '@prisma/client'; | |
const prisma = new PrismaClient({ |
This file contains 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
# https://github.com/python/cpython/pull/29824 | |
import uuid | |
class UUID(uuid.UUID): | |
def __init__( | |
self, | |
int: int | None = None, | |
version: int | None = None, | |
*, |
This file contains 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
#!/bin/sh | |
# Based on BMitch's answer from: | |
# https://stackoverflow.com/questions/38946683/how-to-test-dockerignore-file | |
# Note: will create and delete temporary file "Dockerfile.build-context" | |
# 1. Copy to project folder where image is being built | |
# 2. Run script | |
# 3. You should see list of files in build context |