You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/07/18 09:57:49 UTC
[incubator-opendal] branch main updated: ci: upgrade hawkeye action (#2665)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 3d8f0f5dd ci: upgrade hawkeye action (#2665)
3d8f0f5dd is described below
commit 3d8f0f5dd4e5695005c3b48eb09b11127510dd6e
Author: tison <wa...@gmail.com>
AuthorDate: Tue Jul 18 17:57:45 2023 +0800
ci: upgrade hawkeye action (#2665)
Signed-off-by: tison <wa...@gmail.com>
---
.github/workflows/ci.yml | 2 +-
bindings/python/python/opendal/layers.pyi | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2bde268a5..a25879e8a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,7 +45,7 @@ jobs:
uses: ./.github/actions/setup
- name: Check license headers
- uses: korandoru/hawkeye@v3.0.1
+ uses: korandoru/hawkeye@v3.1.0
- name: Cargo format
run: cargo fmt --all -- --check
diff --git a/bindings/python/python/opendal/layers.pyi b/bindings/python/python/opendal/layers.pyi
index 29fad7cf8..6ae35f50e 100644
--- a/bindings/python/python/opendal/layers.pyi
+++ b/bindings/python/python/opendal/layers.pyi
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
class ConcurrentLimitLayer:
def __init__(self, permits: int) -> None: ...