Skip to content

Commit dfe703d

Browse files
committed
clear run
1 parent d3ba371 commit dfe703d

File tree

1 file changed

+11
-55
lines changed

1 file changed

+11
-55
lines changed

Quickstart-Document-Permissions/document-permissions.ipynb

Lines changed: 11 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
{
2020
"cell_type": "code",
21-
"execution_count": 1,
21+
"execution_count": null,
2222
"id": "0b40bb5b",
2323
"metadata": {},
2424
"outputs": [],
@@ -88,18 +88,10 @@
8888
},
8989
{
9090
"cell_type": "code",
91-
"execution_count": 3,
91+
"execution_count": null,
9292
"id": "b25aaf7b",
9393
"metadata": {},
94-
"outputs": [
95-
{
96-
"name": "stdout",
97-
"output_type": "stream",
98-
"text": [
99-
"Datasource 'document-permissions-sample-datasource' created with permission filter option enabled.\n"
100-
]
101-
}
102-
],
94+
"outputs": [],
10395
"source": [
10496
"from azure.search.documents.indexes.models import SearchIndexerDataSourceConnection, SearchIndexerDataSourceType, IndexerPermissionOption, SearchIndexerDataContainer, DataSourceCredentials\n",
10597
"from azure.search.documents.indexes import SearchIndexerClient\n",
@@ -126,7 +118,7 @@
126118
},
127119
{
128120
"cell_type": "code",
129-
"execution_count": 4,
121+
"execution_count": null,
130122
"id": "329fe160",
131123
"metadata": {},
132124
"outputs": [],
@@ -149,21 +141,10 @@
149141
},
150142
{
151143
"cell_type": "code",
152-
"execution_count": 9,
144+
"execution_count": null,
153145
"id": "acd28b29",
154146
"metadata": {},
155-
"outputs": [
156-
{
157-
"data": {
158-
"text/plain": [
159-
"{'counters': {'directories_successful': 1, 'files_successful': 1, 'failure_count': 0}, 'continuation': None}"
160-
]
161-
},
162-
"execution_count": 9,
163-
"metadata": {},
164-
"output_type": "execute_result"
165-
}
166-
],
147+
"outputs": [],
167148
"source": [
168149
"from azure.storage.filedatalake import DataLakeServiceClient\n",
169150
"import requests\n",
@@ -203,18 +184,10 @@
203184
},
204185
{
205186
"cell_type": "code",
206-
"execution_count": 20,
187+
"execution_count": null,
207188
"id": "2ce7eb5e",
208189
"metadata": {},
209-
"outputs": [
210-
{
211-
"name": "stdout",
212-
"output_type": "stream",
213-
"text": [
214-
"Indexer 'document-permissions-sample-indexer' created\n"
215-
]
216-
}
217-
],
190+
"outputs": [],
218191
"source": [
219192
"from azure.search.documents.indexes.models import SearchIndexer, FieldMapping\n",
220193
"\n",
@@ -245,15 +218,7 @@
245218
"execution_count": null,
246219
"id": "7a899da1",
247220
"metadata": {},
248-
"outputs": [
249-
{
250-
"name": "stdout",
251-
"output_type": "stream",
252-
"text": [
253-
"Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/data/sample.txt, OID: ['none'], Group: ['ec5aece9-33fc-4b2e-abe1-aedf771357a3']\n"
254-
]
255-
}
256-
],
221+
"outputs": [],
257222
"source": [
258223
"from azure.search.documents import SearchClient\n",
259224
"search_client = SearchClient(endpoint=endpoint, index_name=index_name, credential=credential)\n",
@@ -273,19 +238,10 @@
273238
},
274239
{
275240
"cell_type": "code",
276-
"execution_count": 14,
241+
"execution_count": null,
277242
"id": "72d203f0",
278243
"metadata": {},
279-
"outputs": [
280-
{
281-
"name": "stdout",
282-
"output_type": "stream",
283-
"text": [
284-
"Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/state-parks/oregon/oregon_state_parks.csv, OID: [], Group: []\n",
285-
"Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/state-parks/oregon/oregon_state_parks.csv, OID: [], Group: []\n"
286-
]
287-
}
288-
],
244+
"outputs": [],
289245
"source": [
290246
"from azure.search.documents import SearchClient\n",
291247
"search_client = SearchClient(endpoint=endpoint, index_name=index_name, credential=credential)\n",

0 commit comments

Comments
 (0)