- Notifications
You must be signed in to change notification settings - Fork676
Open
Description
Description of the problem, including code/CLI snippet
>>> import gitlab>>> p = gl.projects.get(100)>>> mirror = p.pull_mirror.get()>>> mirror.update_status'failed'>>> mirror.start()Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/a14638/.venv3.9/lib/python3.9/site-packages/gitlab/base.py", line 133, in __getattr__ raise AttributeError(message)AttributeError: 'ProjectPullMirror' object has no attribute 'start'>>> print(gitlab.__version__)6.3.0>>> mirror.sync()Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/a14638/.venv3.9/lib/python3.9/site-packages/gitlab/base.py", line 133, in __getattr__ raise AttributeError(message)AttributeError: 'ProjectPullMirror' object has no attribute 'sync'
refer :https://docs.gitlab.com/api/project_pull_mirroring/#start-the-pull-mirroring-process-for-a-project
Expected Behavior
mirroring sync
Actual Behavior
can not find method
Specifications
- python-gitlab version: 6.3.0
- Gitlab server version (or gitlab.com): 18.2
Metadata
Metadata
Assignees
Labels
No labels