Skip to content

Conversation

@shurick2
Copy link
Contributor

No description provided.

@shurick2 shurick2 force-pushed the tweak_dev_page_size branch from 690ba3a to 74f5be3 Compare March 20, 2025 20:24
@shurick2
Copy link
Contributor Author

@Tishka17

@Tishka17
Copy link
Contributor

Tishka17 commented Apr 1, 2025

I am not sure, that reading env variables is a good idea for a library

from annet.storage import Storage
from .models import IpAddressV37, NetboxDeviceV37, InterfaceV37, PrefixV37

interfaces_page_size = int(os.getenv("NETBOX_INTERFACES_PAGE_SIZE", 100))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should move this logic to NetboxStorageOpts

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

Successfully merging this pull request may close these issues.

2 participants