-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Add Usage Calculator module and fetch kWh tariff from Usage Calculator #101
Conversation
PR Summary
|
PR Description updated to latest commit (576904d)
|
PR Review(Review updated until commit 2ce7f0b)
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
CI Failure Feedback
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
/review |
Persistent review updated to latest commit 2ce7f0b |
User description
What changes do you are proposing?
Add Usage Calculator module and fetch kWh tariff from Usage Calculator
How did you test these changes?
manually
Closing issues
Type
enhancement, bug_fix
Description
Contract
model field name.Changes walkthrough
14 files
commons.py
Enhance HTTP Request Handling and Debug Logging
iec_api/commons.py
send_non_json_post_request
function for sending POST requestswith non-JSON responses.
end.
const.py
Add New API Endpoints for Various Features
iec_api/const.py
TenantIdentity, Invoice PDF, and Calculator Gadget.
data.py
Implement Functions for New API Endpoints and Fix URL Usage
iec_api/data.py
CheckContract, EFS Messages, TenantIdentity, and Invoice PDF.
iec_client.py
Extend IEC Client with New Features and Debug Logging
iec_api/iec_client.py
retrieval, and EFS messages.
contract_check.py
Add ContractCheck Model for Contract Verification Data
iec_api/models/contract_check.py
ContractCheck
model to represent contract check data.device_identity.py
Add Models for Device Identification Data
iec_api/models/device_identity.py
DeviceIdentity
andDeviceDetails
models for deviceidentification data.
efs.py
Add Models for EFS Messages and Requests
iec_api/models/efs.py
get_pdf.py
Add GetPdfRequest Model for Invoice PDF Retrieval
iec_api/models/get_pdf.py
GetPdfRequest
model for invoice PDF retrieval requests.static_data.py
Add Functions for Usage Calculator and kWh Tariff Data Retrieval
iec_api/static_data.py
calculator.py
Implement Usage Calculator with Data Loading and Consumption
Calculation
iec_api/usage_calculator/calculator.py
calculation functionalities.
consumption.py
Add Consumption Model for Energy Consumption Data
iec_api/usage_calculator/consumption.py
Consumption
model for representing energy consumption data.electric_device.py
Add ElectricDevice Model with Power Unit and Calculation Resolution
Enums
iec_api/usage_calculator/electric_device.py
ElectricDevice
model with power unit and calculation resolutionenums.
get_calculator_response.py
Add GetCalculatorResponse Model for Usage Calculator API Response
iec_api/usage_calculator/get_calculator_response.py
GetCalculatorResponse
model for usage calculator API response.rates.py
Add Rates Model for Electricity Rates Data
iec_api/usage_calculator/rates.py
Rates
model for representing electricity rates data.1 files
contract.py
Fix Typo in Contract Model Field Name
iec_api/models/contract.py
from_private_producer
field name.