pypi okta 2.4.0
Version 2.4.0

2 years ago

2.4.0

New resources:

  • Subscription

New models:

  • ApplicationFeature
  • CapabilitiesCreateObject
  • CapabilitiesObject
  • CapabilitiesUpdateObject
  • ChangeEnum
  • LifecycleCreateSettingObject
  • LifecycleDeactivateSettingObject
  • NotificationType
  • Org2OrgApplication
  • Org2OrgApplicationSettings
  • Org2OrgApplicationSettingsApp
  • PasswordSettingObject
  • ProfileSettingObject
  • ProvisioningConnection
  • ProvisioningConnectionAuthScheme
  • ProvisioningConnectionProfile
  • ProvisioningConnectionRequest
  • ProvisioningConnectionStatus
  • SeedEnum
  • Subscription
  • SubscriptionStatus

New features:
Reuse http session to improve performance using client as a context manager:

import asyncio
import aiohttp

from okta.client import Client as OktaClient


async def main():
    async with OktaClient() as client:
        # perform all queries within same session
        users, okta_resp, err = await client.list_users()
        user, okta_resp, err = await client.get_user(users[0].id)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Don't miss a new okta release

NewReleases is sending notifications on new releases.