Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
farfun committed Dec 30, 2024
1 parent d7ccb0f commit 32a4a38
Showing 6 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions logs/all.log
Original file line number Diff line number Diff line change
@@ -4,3 +4,6 @@
2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-30 17:43:45.168 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-30 17:44:45.394 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
3 changes: 3 additions & 0 deletions logs/funbuild.log
Original file line number Diff line number Diff line change
@@ -4,3 +4,6 @@
2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-30 17:43:45.168 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-30 17:44:45.394 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "fundrive"
version = "1.2.93"
version = "1.2.94"
description = "fundrive"
readme = "README.md"
requires-python = ">=3.8"
2 changes: 1 addition & 1 deletion src/fundrive/core/base.py
Original file line number Diff line number Diff line change
@@ -211,7 +211,7 @@ def upload_dir(
"""
raise NotImplementedError()

def share(self, *fids: str, password: str, expire_days: int = 0,description=""):
def share(self, *fids: str, password: str, expire_days: int = 0, description=""):
raise NotImplementedError()

def save_shared(self, shared_url: str, fid: str, password: Optional[str] = None):
2 changes: 1 addition & 1 deletion src/fundrive/drives/baidu/drive.py
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ def download_file(
logger.error(f"Failed to download file {fid}: {e}")
return False

def share(self, *fids: str, password: str, expire_days: int = 0,description=""):
def share(self, *fids: str, password: str, expire_days: int = 0, description=""):
self.drive.share(*fids, password=password, period=expire_days)

def save_shared(
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 32a4a38

Please sign in to comment.