INNER CODE UNIT · Python

RenderServiceType

phasehq/console · backend/api/utils/syncing/render/main.py:18

class RenderServiceType(ObjectType):
    id = ID(required=True)
    name = String(required=True)
    type = String()  # e.g., "web_service", "static_site", etc.
    region = String()
    repo = String()  # e.g., GitHub repo URL or name
    branch = String()
    created_at = String()
    updated_at = String()


def get_render_headers(credential_id):
    """
    Prepare headers for Render API requests with the necessary authentication token.
    """
    credentials = get_credentials(credential_id)
    api_key = credentials.get("api_key")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…