You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v1.7.0
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
import pprint
import re # noqa: F401
from enum import Enum
try:
from typing import Self
except ImportError:
from typing_extensions import Self
class Component(str, Enum):
"""
CEL component specifier. - COMPONENT_PARSER: Parser. Converts a CEL string to an AST. - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types agree. - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a context.
"""
"""
allowed enum values
"""
COMPONENT_PARSER = 'COMPONENT_PARSER'
COMPONENT_TYPE_CHECKER = 'COMPONENT_TYPE_CHECKER'
COMPONENT_RUNTIME = 'COMPONENT_RUNTIME'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of Component from a JSON string"""