|
@@ -7,7 +7,6 @@ import typing
|
|
|
|
|
|
|
|
import cache
|
|
import cache
|
|
|
import integration
|
|
import integration
|
|
|
-import roi
|
|
|
|
|
|
|
|
|
|
def main() -> None:
|
|
def main() -> None:
|
|
|
code = sys.argv[1]
|
|
code = sys.argv[1]
|
|
@@ -40,7 +39,7 @@ def main() -> None:
|
|
|
print()
|
|
print()
|
|
|
|
|
|
|
|
company_report = integration.pmmg_monthly_report()[company['CompanyId']]
|
|
company_report = integration.pmmg_monthly_report()[company['CompanyId']]
|
|
|
- for mat, data in company_report.items():
|
|
|
|
|
|
|
+ for mat in company_report.keys():
|
|
|
expertise = experts.get(mat)
|
|
expertise = experts.get(mat)
|
|
|
print(mat, expertise, ', '.join(cogc_planets.get(expertise, []))) # pyright: ignore[reportArgumentType, reportCallIssue]
|
|
print(mat, expertise, ', '.join(cogc_planets.get(expertise, []))) # pyright: ignore[reportArgumentType, reportCallIssue]
|
|
|
|
|
|
|
@@ -64,7 +63,11 @@ class Building(typing.TypedDict):
|
|
|
Expertise: str
|
|
Expertise: str
|
|
|
|
|
|
|
|
class BuildingRecipe(typing.TypedDict):
|
|
class BuildingRecipe(typing.TypedDict):
|
|
|
- Outputs: typing.Sequence[roi.BuildingMat]
|
|
|
|
|
|
|
+ Outputs: typing.Sequence[BuildingMat]
|
|
|
|
|
+
|
|
|
|
|
+class BuildingMat(typing.TypedDict):
|
|
|
|
|
+ CommodityTicker: str
|
|
|
|
|
+ Amount: int
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
|
main()
|
|
main()
|