Skip to content

Instantly share code, notes, and snippets.

View sam-goodwin's full-sized avatar

sam sam-goodwin

View GitHub Profile
from types import UnionType
from typing import Any, Optional, Union, get_args, get_origin
import numpy as np
import pyarrow as pa
from pandera import Check, DataFrameModel, DataFrameSchema, Index, MultiIndex, dtypes
from pandera.engines import pandas_engine
from pandera.engines.engine import _is_namedtuple, _is_typeddict
from pandera.typing import Series
from pydantic import BaseModel
@sam-goodwin
sam-goodwin / api.ts
Created April 22, 2025 08:09
Huawei Bucket Alchemy Resource
/**
* Options for Huawei Cloud API requests
*/
export interface HuaweiApiOptions {
/**
* API key or token to use (overrides environment variable)
*/
apiKey?: string;
/**