Skip to content

Commit 6e9b9d5

Browse files
committed
URL fix
1 parent 4f7bafb commit 6e9b9d5

File tree

16 files changed

+266
-266
lines changed

16 files changed

+266
-266
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async def main():
7575
student_names.append(doc["name"])
7676
```
7777

78-
Another example with [graphs](https://docs.arango.ai/stable/graphs/):
78+
Another example with [graphs](https://docs.arango.ai/arangodb/stable/graphs/):
7979

8080
```python
8181
async def main():

arangoasync/aql.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def entries(self) -> Result[Jsons]:
7878
AQLCacheEntriesError: If retrieval fails.
7979
8080
References:
81-
- `list-the-entries-of-the-aql-query-results-cache <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-results-cache/#list-the-entries-of-the-aql-query-results-cache>`__
81+
- `list-the-entries-of-the-aql-query-results-cache <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-results-cache/#list-the-entries-of-the-aql-query-results-cache>`__
8282
""" # noqa: E501
8383
request = Request(method=Method.GET, endpoint="/_api/query-cache/entries")
8484

@@ -99,7 +99,7 @@ async def plan_entries(self) -> Result[Jsons]:
9999
AQLCacheEntriesError: If retrieval fails.
100100
101101
References:
102-
- `list-the-entries-of-the-aql-query-plan-cache <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-plan-cache/#list-the-entries-of-the-aql-query-plan-cache>`__
102+
- `list-the-entries-of-the-aql-query-plan-cache <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-plan-cache/#list-the-entries-of-the-aql-query-plan-cache>`__
103103
""" # noqa: E501
104104
request = Request(method=Method.GET, endpoint="/_api/query-plan-cache")
105105

@@ -117,7 +117,7 @@ async def clear(self) -> Result[None]:
117117
AQLCacheClearError: If clearing the cache fails.
118118
119119
References:
120-
- `clear-the-aql-query-results-cache <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-results-cache/#clear-the-aql-query-results-cache>`__
120+
- `clear-the-aql-query-results-cache <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-results-cache/#clear-the-aql-query-results-cache>`__
121121
""" # noqa: E501
122122
request = Request(method=Method.DELETE, endpoint="/_api/query-cache")
123123

@@ -134,7 +134,7 @@ async def clear_plan(self) -> Result[None]:
134134
AQLCacheClearError: If clearing the cache fails.
135135
136136
References:
137-
- `clear-the-aql-query-plan-cache <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-plan-cache/#clear-the-aql-query-plan-cache>`__
137+
- `clear-the-aql-query-plan-cache <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-plan-cache/#clear-the-aql-query-plan-cache>`__
138138
""" # noqa: E501
139139
request = Request(method=Method.DELETE, endpoint="/_api/query-plan-cache")
140140

@@ -154,7 +154,7 @@ async def properties(self) -> Result[QueryCacheProperties]:
154154
AQLCachePropertiesError: If retrieval fails.
155155
156156
References:
157-
- `get-the-aql-query-results-cache-configuration <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-results-cache/#get-the-aql-query-results-cache-configuration>`__
157+
- `get-the-aql-query-results-cache-configuration <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-results-cache/#get-the-aql-query-results-cache-configuration>`__
158158
""" # noqa: E501
159159
request = Request(method=Method.GET, endpoint="/_api/query-cache/properties")
160160

@@ -193,7 +193,7 @@ async def configure(
193193
AQLCacheConfigureError: If setting the configuration fails.
194194
195195
References:
196-
- `set-the-aql-query-results-cache-configuration <https://docs.arango.ai/stable/develop/http-api/queries/aql-query-results-cache/#set-the-aql-query-results-cache-configuration>`__
196+
- `set-the-aql-query-results-cache-configuration <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-query-results-cache/#set-the-aql-query-results-cache-configuration>`__
197197
""" # noqa: E501
198198
data: Json = dict()
199199
if mode is not None:
@@ -298,7 +298,7 @@ async def execute(
298298
Cursor: Result cursor.
299299
300300
References:
301-
- `create-a-cursor <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#create-a-cursor>`__
301+
- `create-a-cursor <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#create-a-cursor>`__
302302
""" # noqa: E501
303303
data: Json = dict(query=query)
304304
if count is not None:
@@ -353,7 +353,7 @@ async def tracking(self) -> Result[QueryTrackingConfiguration]:
353353
AQLQueryTrackingGetError: If retrieval fails.
354354
355355
References:
356-
- `get-the-aql-query-tracking-configuration <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#get-the-aql-query-tracking-configuration>`__
356+
- `get-the-aql-query-tracking-configuration <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#get-the-aql-query-tracking-configuration>`__
357357
""" # noqa: E501
358358
request = Request(method=Method.GET, endpoint="/_api/query/properties")
359359

@@ -397,7 +397,7 @@ async def set_tracking(
397397
AQLQueryTrackingSetError: If setting the configuration fails.
398398
399399
References:
400-
- `update-the-aql-query-tracking-configuration <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#update-the-aql-query-tracking-configuration>`__
400+
- `update-the-aql-query-tracking-configuration <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#update-the-aql-query-tracking-configuration>`__
401401
""" # noqa: E501
402402
data: Json = dict()
403403

@@ -462,7 +462,7 @@ async def queries(self, all_queries: bool = False) -> Result[Jsons]:
462462
AQLQueryListError: If retrieval fails.
463463
464464
References:
465-
- `list-the-running-queries <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#list-the-running-queries>`__
465+
- `list-the-running-queries <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#list-the-running-queries>`__
466466
""" # noqa: E501
467467
request = Request(
468468
method=Method.GET,
@@ -493,7 +493,7 @@ async def slow_queries(self, all_queries: bool = False) -> Result[Jsons]:
493493
AQLQueryListError: If retrieval fails.
494494
495495
References:
496-
- `list-the-slow-aql-queries <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#list-the-slow-aql-queries>`__
496+
- `list-the-slow-aql-queries <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#list-the-slow-aql-queries>`__
497497
""" # noqa: E501
498498
request = Request(
499499
method=Method.GET,
@@ -523,7 +523,7 @@ async def clear_slow_queries(self, all_queries: bool = False) -> Result[None]:
523523
AQLQueryClearError: If retrieval fails.
524524
525525
References:
526-
- `clear-the-list-of-slow-aql-queries <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#clear-the-list-of-slow-aql-queries>`__
526+
- `clear-the-list-of-slow-aql-queries <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#clear-the-list-of-slow-aql-queries>`__
527527
""" # noqa: E501
528528
request = Request(
529529
method=Method.DELETE,
@@ -560,7 +560,7 @@ async def kill(
560560
AQLQueryKillError: If killing the query fails.
561561
562562
References:
563-
- `kill-a-running-aql-query <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#kill-a-running-aql-query>`__
563+
- `kill-a-running-aql-query <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#kill-a-running-aql-query>`__
564564
""" # noqa: E501
565565
request = Request(
566566
method=Method.DELETE,
@@ -598,7 +598,7 @@ async def explain(
598598
AQLQueryExplainError: If retrieval fails.
599599
600600
References:
601-
- `explain-an-aql-query <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#explain-an-aql-query>`__
601+
- `explain-an-aql-query <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#explain-an-aql-query>`__
602602
""" # noqa: E501
603603
data: Json = dict(query=query)
604604
if bind_vars is not None:
@@ -634,7 +634,7 @@ async def validate(self, query: str) -> Result[Json]:
634634
AQLQueryValidateError: If validation fails.
635635
636636
References:
637-
- `parse-an-aql-query <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#parse-an-aql-query>`__
637+
- `parse-an-aql-query <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#parse-an-aql-query>`__
638638
""" # noqa: E501
639639
request = Request(
640640
method=Method.POST,
@@ -659,7 +659,7 @@ async def query_rules(self) -> Result[Jsons]:
659659
AQLQueryRulesGetError: If retrieval fails.
660660
661661
References:
662-
- `list-all-aql-optimizer-rules <https://docs.arango.ai/stable/develop/http-api/queries/aql-queries/#list-all-aql-optimizer-rules>`__
662+
- `list-all-aql-optimizer-rules <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/aql-queries/#list-all-aql-optimizer-rules>`__
663663
""" # noqa: E501
664664
request = Request(method=Method.GET, endpoint="/_api/query/rules")
665665

@@ -684,7 +684,7 @@ async def functions(self, namespace: Optional[str] = None) -> Result[Jsons]:
684684
AQLFunctionListError: If retrieval fails.
685685
686686
References:
687-
- `list-the-registered-user-defined-aql-functions <https://docs.arango.ai/stable/develop/http-api/queries/user-defined-aql-functions/#list-the-registered-user-defined-aql-functions>`__
687+
- `list-the-registered-user-defined-aql-functions <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/user-defined-aql-functions/#list-the-registered-user-defined-aql-functions>`__
688688
""" # noqa: E501
689689
params: Json = dict()
690690
if namespace is not None:
@@ -726,7 +726,7 @@ async def create_function(
726726
AQLFunctionCreateError: If registration fails.
727727
728728
References:
729-
- `create-a-user-defined-aql-function <https://docs.arango.ai/stable/develop/http-api/queries/user-defined-aql-functions/#create-a-user-defined-aql-function>`__
729+
- `create-a-user-defined-aql-function <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/user-defined-aql-functions/#create-a-user-defined-aql-function>`__
730730
""" # noqa: E501
731731
request = Request(
732732
method=Method.POST,
@@ -765,7 +765,7 @@ async def delete_function(
765765
AQLFunctionDeleteError: If removal fails.
766766
767767
References:
768-
- `remove-a-user-defined-aql-function <https://docs.arango.ai/stable/develop/http-api/queries/user-defined-aql-functions/#remove-a-user-defined-aql-function>`__
768+
- `remove-a-user-defined-aql-function <https://docs.arango.ai/arangodb/stable/develop/http-api/queries/user-defined-aql-functions/#remove-a-user-defined-aql-function>`__
769769
""" # noqa: E501
770770
params: Json = dict()
771771
if group is not None:

arangoasync/backup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def get(self, backup_id: Optional[str] = None) -> Result[Json]:
4949
BackupGetError: If the operation fails.
5050
5151
References:
52-
- `list-backups <https://docs.arango.ai/stable/develop/http-api/hot-backups/#list-all-backups>`__
52+
- `list-backups <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#list-all-backups>`__
5353
""" # noqa: E501
5454
data: Json = {}
5555
if backup_id is not None:
@@ -97,7 +97,7 @@ async def create(
9797
BackupCreateError: If the backup creation fails.
9898
9999
References:
100-
- `create-backup <https://docs.arango.ai/stable/develop/http-api/hot-backups/#create-a-backup>`__
100+
- `create-backup <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#create-a-backup>`__
101101
""" # noqa: E501
102102
data: Json = {}
103103
if label is not None:
@@ -137,7 +137,7 @@ async def restore(self, backup_id: str) -> Result[Json]:
137137
BackupRestoreError: If the restore operation fails.
138138
139139
References:
140-
- `restore-backup <https://docs.arango.ai/stable/develop/http-api/hot-backups/#restore-a-backup>`__
140+
- `restore-backup <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#restore-a-backup>`__
141141
""" # noqa: E501
142142
data: Json = {"id": backup_id}
143143
request = Request(
@@ -165,7 +165,7 @@ async def delete(self, backup_id: str) -> None:
165165
BackupDeleteError: If the delete operation fails.
166166
167167
References:
168-
- `delete-backup <https://docs.arango.ai/stable/develop/http-api/hot-backups/#delete-a-backup>`__
168+
- `delete-backup <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#delete-a-backup>`__
169169
""" # noqa: E501
170170
data: Json = {"id": backup_id}
171171
request = Request(
@@ -209,7 +209,7 @@ async def upload(
209209
BackupUploadError: If upload operation fails.
210210
211211
References:
212-
- `upload-a-backup-to-a-remote-repository <https://docs.arango.ai/stable/develop/http-api/hot-backups/#upload-a-backup-to-a-remote-repository>`__
212+
- `upload-a-backup-to-a-remote-repository <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#upload-a-backup-to-a-remote-repository>`__
213213
""" # noqa: E501
214214
data: Json = {}
215215
if upload_id is not None:
@@ -265,7 +265,7 @@ async def download(
265265
BackupDownloadError: If the download operation fails.
266266
267267
References:
268-
- `download-a-backup-from-a-remote-repository <https://docs.arango.ai/stable/develop/http-api/hot-backups/#download-a-backup-from-a-remote-repository>`__
268+
- `download-a-backup-from-a-remote-repository <https://docs.arango.ai/arangodb/stable/develop/http-api/hot-backups/#download-a-backup-from-a-remote-repository>`__
269269
""" # noqa: E501
270270
data: Json = {}
271271
if download_id is not None:

0 commit comments

Comments
 (0)