samtranslator/internal/schema_source/aws_serverless_function.py (29 lines): - line 98: ) # TODO: Should investigate whether this is a required field. This is a required field on documentation. However, we don't seem to use this field. - line 148: FilterPolicyScope: Optional[PassThroughProp] # TODO: add documentation - line 162: InvokeMode: Optional[PassThroughProp] # TODO: add to doc - line 172: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 196: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 242: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 260: # TODO explicitly mention in docs that intrinsics are not supported for OverrideApiAuth - line 261: OverrideApiAuth: Optional[bool] # TODO Add Docs - line 276: # TODO: docs says either str or RequestParameter but implementation is an array of str or RequestParameter - line 288: TimeoutInMillis: Optional[PassThroughProp] # TODO: add doc - line 344: InputTransformer: Optional[PassThroughProp] # TODO: add docs - line 415: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 422: DestinationConfig: Optional[PassThroughProp] # TODO: add documentation - line 437: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 457: KmsKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 459: StartingPosition: Optional[PassThroughProp] # TODO: add documentation - line 460: StartingPositionTimestamp: Optional[PassThroughProp] # TODO: add documentation - line 470: # TODO: Same as ScheduleV2EventProperties in state machine? - line 487: OmitName: Optional[bool] # TODO: add doc - line 517: SnapStart = Optional[PassThroughProp] # TODO: check the type - line 518: RuntimeManagementConfig = Optional[PassThroughProp] # TODO: check the type - line 519: LoggingConfig = Optional[PassThroughProp] # TODO: add documentation - line 547: # TODO: Make the notation shorter; resource type and SAM/CFN property names usually same - line 647: LoggingConfig: Optional[PassThroughProp] # TODO: add documentation - line 648: RecursiveLoop: Optional[PassThroughProp] # TODO: add documentation - line 649: SourceKMSKeyArn: Optional[PassThroughProp] # TODO: add documentation - line 707: LoggingConfig: Optional[PassThroughProp] # TODO: add documentation - line 708: RecursiveLoop: Optional[PassThroughProp] # TODO: add documentation - line 709: SourceKMSKeyArn: Optional[PassThroughProp] # TODO: add documentation samtranslator/internal/schema_source/aws_serverless_api.py (11 lines): - line 106: AddApiKeyRequiredToCorsPreflight: Optional[bool] # TODO Add Docs - line 154: SetIdentifier: Optional[PassThroughProp] # TODO: add docs - line 155: Region: Optional[PassThroughProp] # TODO: add docs - line 156: SeparateRecordSetGroup: Optional[bool] # TODO: add docs - line 157: VpcEndpointDomainName: Optional[PassThroughProp] # TODO: add docs - line 158: VpcEndpointHostedZoneId: Optional[PassThroughProp] # TODO: add docs - line 162: VpcEndpointId: PassThroughProp # TODO: add docs - line 243: OpenApiVersion = Optional[Union[float, str]] # TODO: float doesn't exist in documentation - line 317: Policy: Optional[PassThroughProp] # TODO: add docs - line 318: PropagateTags: Optional[bool] # TODO: add docs - line 384: PropagateTags: Optional[bool] # TODO: add docs samtranslator/internal/schema_source/aws_serverless_httpapi.py (8 lines): - line 41: # TODO: Many tests use floats for the version string; docs only mention string - line 48: EnableFunctionDefaultPermissions: Optional[bool] # TODO: add docs - line 53: # TODO: Docs doesn't say it's a map - line 88: SetIdentifier: Optional[PassThroughProp] # TODO: add docs - line 89: Region: Optional[PassThroughProp] # TODO: add docs - line 115: # TODO: Also string like in the docs? - line 128: PropagateTags: Optional[bool] # TODO: add docs - line 142: PropagateTags: Optional[bool] # TODO: add docs samtranslator/model/sam_resources.py (5 lines): - line 244: conditions: Dict[str, Any] = {} # TODO: Replace `Any` with something more specific - line 331: cast(IntrinsicsResolver, mappings_resolver), # TODO: better handle mappings_resolver's Optional - line 1111: # FIXME: We should support not only true/false, but also yes/no, on/off? See https://yaml.org/type/bool.html - line 2437: # TODO: Access properties in Resource class as dict? - line 2621: # TODO: Add datetime parsing for ExpiresOn; currently expects Unix timestamp samtranslator/internal/schema_source/aws_serverless_statemachine.py (5 lines): - line 50: RoleArn: Optional[PassThroughProp] # TODO: add doc - line 74: OmitName: Optional[bool] # TODO: add doc - line 121: InputTransformer: Optional[PassThroughProp] # TODO: add docs - line 172: PropagateTags: Optional[bool] # TODO: add docs - line 187: PropagateTags: Optional[bool] # TODO: add docs samtranslator/model/eventsources/push.py (4 lines): - line 68: # TODO: Make `PushEventSource` an abstract class and not giving `principal` initial value. - line 889: # TODO: refactor to remove this cast - line 1275: # TODO can these be conditional? - line 1401: # TODO: api_logical_id is never None, try to make it consistent with what mypy thinks samtranslator/utils/py27hash_fix.py (3 lines): - line 19: unicode_string_type = str # TODO: remove it, python 2 legacy code - line 20: long_int_type = int # TODO: remove it, python 2 legacy code - line 50: # 2. template does not contain any HttpApi resource with DefaultAuthorizer (TODO: remove after py3 migration and fix of security issue) samtranslator/sdk/resource.py (3 lines): - line 16: properties: Dict[str, Any] = {} # TODO: Replace `Any` with something more specific - line 43: # TODO Refactor this file so that it has logical id, can use sam_expect here after that - line 47: # TODO: should we raise exception if `self.type` is not a string? samtranslator/model/__init__.py (3 lines): - line 112: # TODO: Make `Resource` an abstract class and not giving `resource_type`/`property_types` initial value. - line 130: runtime_attrs: Dict[str, Callable[["Resource"], Any]] = {} # TODO: replace Any with something more explicit - line 244: # TODO: Doing validation in this class is kind of off, samtranslator/intrinsics/actions.py (3 lines): - line 25: TODO: input_dict should not be None. - line 33: TODO: input_dict should not be None. - line 41: TODO: input_dict should not be None. samtranslator/model/stepfunctions/events.py (2 lines): - line 31: # TODO: Make `EventSource` an abstract class and not giving `principal` initial value. - line 429: # TODO: refactor to remove this cast samtranslator/model/api/api_generator.py (2 lines): - line 884: # TODO: refactor to have a list of single resource - line 1232: # TODO: Add intrinsic support for this field. samtranslator/plugins/api/implicit_api_plugin.py (2 lines): - line 400: # TODO: refactor the code to make the length check in one place only. - line 437: api.properties["DefinitionBody"] = self._get_api_definition_from_editor(editor) # type: ignore[no-untyped-call] # TODO make static method samtranslator/internal/schema_source/aws_serverless_layerversion.py (2 lines): - line 50: PublishLambdaVersion: Optional[bool] # TODO: add docs - line 72: PublishLambdaVersion: Optional[bool] # TODO: add docs integration/helpers/resource.py (1 line): - line 241: TODO: Only used for connector integ testing for now. samtranslator/model/types.py (1 line): - line 155: PassThrough = Any # TODO: Make it behave like typescript's unknown samtranslator/internal/schema_source/aws_serverless_graphqlapi.py (1 line): - line 17: # TODO: add docs samtranslator/model/exceptions.py (1 line): - line 171: # TODO: refactor the code to make type correct. samtranslator/model/cloudformation.py (1 line): - line 7: # TODO: support passthrough parameters for stacks (Conditions, etc) samtranslator/internal/deprecation_control.py (1 line): - line 27: # TODO: make @deprecated able to decorate a class samtranslator/model/eventsources/pull.py (1 line): - line 33: # TODO: Make `PullEventSource` an abstract class and not giving `resource_type` initial value. samtranslator/internal/schema_source/aws_serverless_simpletable.py (1 line): - line 38: PointInTimeRecoverySpecification: Optional[PassThroughProp] # TODO: add docs samtranslator/model/connector/connector.py (1 line): - line 19: # TODO: Switch to dataclass samtranslator/open_api/open_api.py (1 line): - line 110: # TODO: Consistent handling of Functions with and without AutoPublishAlias (see #1901) samtranslator/internal/schema_source/common.py (1 line): - line 25: # TODO: Get rid of this in favor of proper types samtranslator/intrinsics/resolver.py (1 line): - line 119: TODO: type this and make _traverse generic. samtranslator/swagger/swagger.py (1 line): - line 931: # FIXME: check if this requires py27 dict? samtranslator/internal/schema_source/aws_serverless_connector.py (1 line): - line 48: # TODO make connectors a part of all CFN Resources samtranslator/model/preferences/deployment_preference_collection.py (1 line): - line 76: # TODO: find a way to deal with this implicit assumption samtranslator/plugins/api/implicit_http_api_plugin.py (1 line): - line 115: resource = cast(SamResource, template.get(api_id)) # TODO: make this not an assumption