GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — docspring-python/docspring/models/image_scale_type.py at main · DocSpring/docspring-python Expand file tree/ Copy pathimage_scale_type.pyMore file actions 50 lines (37 loc) · 1.42 KB / Copy pathimage_scale_type.pyFile metadata and controls50 lines (37 loc) · 1.42 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 # coding: utf-8 """ DocSpring API Use DocSpring's API to fill PDF forms, generate PDFs and Word documents from HTML or Word templates, merge PDFs, and request legally binding e-signatures. The version of the OpenAPI document: v2 Contact: [email protected] Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 from __future__ import annotations import json from enum import Enum from typing_extensions import Self class ImageScaleType(str, Enum): """ How an image is resized to its field: scaled to fit inside it (`fit`), scaled to cover it and cropped (`fill`), or stretched to its shape (`stretch`). """ """ allowed enum values """ FIT = 'fit' FILL = 'fill' STRETCH = 'stretch' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of ImageScaleType from a JSON string""" return cls(json.loads(json_str)) @classmethod def _missing_(cls, value): """A value added to the API after this client was released, as in a response: a member of its own that compares and serializes as the value. Iterating the enum gives the values this client knows.""" if not isinstance(value, str): return None member = str.__new__(cls, value) member._name_ = str(value).upper() member._value_ = value return member |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |