mirror of
				https://github.com/brygphilomena/pysimplesat.git
				synced 2025-11-04 08:47:29 +00:00 
			
		
		
		
	Remove print statements
This commit is contained in:
		
							parent
							
								
									74bf53aaeb
								
							
						
					
					
						commit
						ff5a913114
					
				@ -1,6 +1,6 @@
 | 
			
		||||
[project]
 | 
			
		||||
name = "pysimplesat"
 | 
			
		||||
version = "0.1.6"
 | 
			
		||||
version = "0.1.7"
 | 
			
		||||
authors = [
 | 
			
		||||
  { name="Peter Annabel", email="peter.annabel@gmail.com" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
@ -62,7 +62,6 @@ class QuestionsEndpoint(
 | 
			
		||||
        Returns:
 | 
			
		||||
            Question: The parsed response data.
 | 
			
		||||
        """
 | 
			
		||||
        print("get")
 | 
			
		||||
        return self._parse_many(
 | 
			
		||||
            Question,
 | 
			
		||||
            super()._make_request("GET", data=data, params=params).json().get('questions', {}),
 | 
			
		||||
 | 
			
		||||
@ -93,7 +93,6 @@ class PaginatedResponse(Generic[TModel]):
 | 
			
		||||
            self.has_prev_page: bool = page > 1
 | 
			
		||||
            self.prev_page = page - 1 if page > 1 else 1
 | 
			
		||||
            self.next_page = page + 1
 | 
			
		||||
        print(self.parsed_pagination_response)
 | 
			
		||||
        self.params = params
 | 
			
		||||
        self.data: list[TModel] = [response_model.model_validate(d) for d in response.json().get(endpoint, {})]
 | 
			
		||||
        self.has_data = self.data and len(self.data) > 0
 | 
			
		||||
 | 
			
		||||
@ -65,7 +65,6 @@ def parse_response_body(
 | 
			
		||||
    previous: str | None = None
 | 
			
		||||
 | 
			
		||||
    result = {}
 | 
			
		||||
    print(body)
 | 
			
		||||
    if body["previous"] is not None:
 | 
			
		||||
        try:
 | 
			
		||||
            result["prev_page"] = parse_qs(urlparse(body["previous"]).query)['page'][0]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user