MCPcopy Index your code
hub / github.com/DeepL/deepl-python / init_team_document_limit

Method init_team_document_limit

tests/conftest.py:97–103  ·  view source on GitHub ↗

Instructs the mock server to initialize user accounts created by this session with given team document limit.

(self, count)

Source from the content-addressed store, hash-verified

95 )
96
97 def init_team_document_limit(self, count):
98 """Instructs the mock server to initialize user accounts created by
99 this session with given team document limit."""
100 if self.is_mock_server:
101 self.headers[
102 "mock-server-session-init-team-document-limit"
103 ] = str(count)
104
105 def set_doc_failure(self, count):
106 """Instructs the mock server to fail during translation of N

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected