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

Add get-host-config function #9

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

muneebkq
Copy link
Collaborator

Add get-host-config function

@muneebkq muneebkq changed the base branch from master to borrowing-develop August 1, 2024 04:08
class HostConfig(object):
def __init__(self, maxOfflineLeaseDuration):
self.maxOfflineLeaseDuration = maxOfflineLeaseDuration

Copy link
Collaborator

Choose a reason for hiding this comment

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

@muneebkq In Python, the snake case is commonly followed. Please update the above.

def GetHostConfig():
"""Gets the host configuration.

Raises:
Copy link
Collaborator

Choose a reason for hiding this comment

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

@muneebkq This line in docs is missing:

This function sends a network request to LexFloatServer to get the configuration details.

Copy link
Collaborator

@ahmad-kemsan ahmad-kemsan left a comment

Choose a reason for hiding this comment

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

Please check the comment

@muneebkq muneebkq requested a review from ahmad-kemsan August 6, 2024 06:26
@ahmad-kemsan ahmad-kemsan merged commit 467d968 into borrowing-develop Aug 6, 2024
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