Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with_content parameter does not take effect #39

Open
mofazhe opened this issue Oct 25, 2022 · 0 comments
Open

with_content parameter does not take effect #39

mofazhe opened this issue Oct 25, 2022 · 0 comments

Comments

@mofazhe
Copy link

mofazhe commented Oct 25, 2022

Code like the following:

# This is the main code block
collection.content=b"1111"
print(len(col_mgr.cache_save(collection, with_content=False)))
print(len(col_mgr.cache_save(collection)))

output:

2083
2083

The length of the output is the same, it should be that the with_content parameter does not take effect


# This is the main code block, this item has content
print(len(item_mgr.cache_save(item, with_content=False)))
print(len(item_mgr.cache_save(item)))

output:

1857
1857

This has the same problem for item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant