Skip to content

Commit 724f826

Browse files
carterian34iancartTKIPisalegacycipheriancarter
authored
Instantiated the Spaces, WirelessController, CampusGateway, AsyncSpaces, AsyncWirelessController, and AsyncCampusGateway modules (#307)
* Added support for "array of objects" query parameter type. * Added support for "array of objects" query parameter type. Added documentation for the new encode_params function * Added support for "array of objects" query parameter type. Added documentation for the new encode_params function * Added support for "array of objects" query parameter type. Added documentation for the new encode_params function * Minor fixes * Docstring updates * Added missing return statement * - Instantiated the Spaces, WirelessController, CampusGateway moduled and AsyncSpaces, AsyncWirelessController, and AsyncCampusGateway modules in the DashboardAPI and AsyncDashboardAPI class respectively. --------- Co-authored-by: iancart <iancart@cisco.com> Co-authored-by: John M. Kuchta <git@chir.us> Co-authored-by: iancarter <carterian34@gmailcom>
1 parent 9f3a0ed commit 724f826

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

meraki/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Batch class imports
77
from meraki.api.batch import Batch
88
from meraki.api.camera import Camera
9+
from meraki.api.campusGateway import CampusGateway
910
from meraki.api.cellularGateway import CellularGateway
1011
from meraki.api.devices import Devices
1112
from meraki.api.insight import Insight
@@ -14,8 +15,10 @@
1415
from meraki.api.organizations import Organizations
1516
from meraki.api.sensor import Sensor
1617
from meraki.api.sm import Sm
18+
from meraki.api.spaces import Spaces
1719
from meraki.api.switch import Switch
1820
from meraki.api.wireless import Wireless
21+
from meraki.api.wirelessController import WirelessController
1922
# Config import
2023
from meraki.config import (
2124
API_KEY_ENVIRONMENT_VARIABLE,
@@ -182,6 +185,9 @@ def __init__(self,
182185
self.sm = Sm(self._session)
183186
self.switch = Switch(self._session)
184187
self.wireless = Wireless(self._session)
188+
self.spaces = Spaces(self._session)
189+
self.wirelessController = WirelessController(self._session)
190+
self.campusGateway = CampusGateway(self._session)
185191

186192
# Batch definitions
187193
self.batch = Batch()

meraki/aio/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from meraki.aio.api.administered import AsyncAdministered
55
from meraki.aio.api.appliance import AsyncAppliance
66
from meraki.aio.api.camera import AsyncCamera
7+
from meraki.aio.api.campusGateway import AsyncCampusGateway
78
from meraki.aio.api.cellularGateway import AsyncCellularGateway
89
from meraki.aio.api.devices import AsyncDevices
910
from meraki.aio.api.insight import AsyncInsight
@@ -12,8 +13,10 @@
1213
from meraki.aio.api.organizations import AsyncOrganizations
1314
from meraki.aio.api.sensor import AsyncSensor
1415
from meraki.aio.api.sm import AsyncSm
16+
from meraki.aio.api.spaces import AsyncSpaces
1517
from meraki.aio.api.switch import AsyncSwitch
1618
from meraki.aio.api.wireless import AsyncWireless
19+
from meraki.aio.api.wirelessController import AsyncWirelessController
1720
from meraki.aio.rest_session import *
1821
# Batch class imports
1922
from meraki.api.batch import Batch
@@ -181,6 +184,9 @@ def __init__(self,
181184
self.switch = AsyncSwitch(self._session)
182185
self.sm = AsyncSm(self._session)
183186
self.wireless = AsyncWireless(self._session)
187+
self.spaces = AsyncSpaces(self._session)
188+
self.wirelessController = AsyncWirelessController(self._session)
189+
self.campusGateway = AsyncCampusGateway(self._session)
184190

185191
# Batch definitions
186192
self.batch = Batch()

0 commit comments

Comments
 (0)