Skip to content

Commit

Permalink
Merge branch 'm-kovalsky/capacityfuncs'
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Sep 16, 2024
2 parents 59cf17d + 2c0675d commit cf0cb8d
Show file tree
Hide file tree
Showing 6 changed files with 597 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ azure-storage-file-datalake==12.3.1
azure-storage-blob>=12.9.0
anytree
IPython
polib
polib
azure.mgmt.resource
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
"anytree",
"powerbiclient",
"polib",
"azure.mgmt.resource",
]

[tool.setuptools.packages.find]
Expand All @@ -44,7 +45,7 @@ test = [
Repository = "https://github.com/microsoft/semantic-link-labs.git"

[[tool.mypy.overrides]]
module = "sempy.*,Microsoft.*,System.*,anytree.*,powerbiclient.*,synapse.ml.services.*,polib.*"
module = "sempy.*,Microsoft.*,System.*,anytree.*,powerbiclient.*,synapse.ml.services.*,polib.*,azure.mgmt.resource.*"
ignore_missing_imports = true

[tool.flake8]
Expand Down
27 changes: 21 additions & 6 deletions src/sempy_labs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@
from sempy_labs._sql import (
ConnectWarehouse,
)

from sempy_labs._capacities import (
check_fabric_capacity_name_availablility,
delete_fabric_capacity,
resume_fabric_capacity,
update_fabric_capacity,
create_fabric_capacity,
delete_premium_capacity,
suspend_fabric_capacity,
delete_embedded_capacity,
)
from sempy_labs._workspace_identity import (
provision_workspace_identity,
deprovision_workspace_identity,
Expand Down Expand Up @@ -61,13 +70,12 @@
list_backups,
list_storage_account_files,
)

from sempy_labs._connections import (
list_connections,
list_item_connections,
# create_connection_cloud,
# create_connection_vnet,
# create_connection_on_prem
# create_connection_cloud,
# create_connection_vnet,
# create_connection_on_prem
)
from sempy_labs._dax import evaluate_dax_impersonation
from sempy_labs._generate_semantic_model import (
Expand Down Expand Up @@ -104,7 +112,6 @@
create_warehouse,
update_item,
)

from sempy_labs._helper_functions import (
resolve_environment_id,
resolve_capacity_id,
Expand Down Expand Up @@ -286,4 +293,12 @@
"resolve_capacity_id",
"resolve_environment_id",
"list_item_connections",
"check_fabric_capacity_name_availablility",
"delete_fabric_capacity",
"resume_fabric_capacity",
"update_fabric_capacity",
"create_fabric_capacity",
"delete_premium_capacity",
"suspend_fabric_capacity",
"delete_embedded_capacity",
]
Loading

0 comments on commit cf0cb8d

Please sign in to comment.