Comments (1)
@zj5220924 on the python-gitlab side we're just an API wrapper so unfortunately can't do much except for always checking the response messages and status code.
Here's an example of how we look at 409 status code specifically with Resource lock error messages:
https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/client.py#L759
You should be able to do something similar for your use case. I'll close this issue for now but if you have any more questions feel free to reopen!
from python-gitlab.
Related Issues (20)
- get_id() retruns name of label
- project.commits.list(path=some/path.txt) fails because "path" param is used to override path in ListMixin.list HOT 2
- Introduce a global setting to always get all element from `list()` calls HOT 1
- `path` argument of "List repository commits" is overriden
- Feature: Retrieve the job that generated a job token from /job api call
- Cannot update/patch protected branch allowed_to_push/push_access_levels state HOT 1
- Memory increase while using the client HOT 4
- API for get and add MR to merge train is missing HOT 4
- Add support for `retry_transient_errors` to then CLI
- Unable to initialize repo with readme when creating project on behalf of user HOT 1
- Merge request note update appends instead of replaces HOT 2
- CI: codecov failing at project level HOT 5
- Redirected `head()` requests raise `RedirectError` HOT 3
- GitLab mirror of python-gitlab is out of date HOT 5
- Improve download files from artifacts HOT 3
- Namespace Error / Namespace Ignored HOT 9
- Cant get ProjectRegistryRepository size HOT 4
- Support the approvalrules option "applies_to_all_protected_branches" HOT 3
- CLI: For `list` actions the CLI defaults to `get_all=False`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-gitlab.