- Notifications
You must be signed in to change notification settings - Fork673
-
According tohttps://python-gitlab.readthedocs.io/en/stable/gl_objects/pipelines_and_jobs.html#id6, the result of I believe similar behavior can be achieved via The function Lines 69 to 89 in5a4acab
even though it uses response.iter_content , whichcould supportdecode_unicode=True (def iter_content(self, chunk_size=1, decode_unicode=False): ), but there is currently no way to pass that downward.The result is a binary stream, which is unworkableas-is for line-based operations - as I "expect"/process the Job Log as a line stream (e.g. match this, ignore that ...). This also mirrors "average Joe's processing" of a job log: Go through it line-by-line, search etc Not a blocker - just wondering if there is a more elegant, in-library workaround (or solution I have missed). ... or "food for thought" if development is due to happen. |
BetaWas this translation helpful?Give feedback.