SIGN IN SIGN UP

Sync `Enterprise` class with API spec (#3342)

Turns `Enterprise` into a proper PyGithub object. Renames `environment`
arguments to `slug`.

This is a breaking change. If you used to call

    github.Github().get_enterprise(enterprise="…")

instead use one of the following calls now:

    github.Github().get_enterprise("…")
    github.Github().get_enterprise(slug="…")
E
Enrico Minack committed
01bb5ab1e57b2dd81d14a3f065c56e412bbe51e1
Parent: cdc10a2
Committed by GitHub <noreply@github.com> on 8/20/2025, 7:18:05 AM